Quote o' the day: The award for best function name goes to...

Posted on December 14, 2012 by Tommy McGuire
Labels: quote, haskell, programming language

While reading a message from Daniel Fischer on the Haskell-beginners mailing list, what do I see but:

it'sSafeIPromise :: Reader a -> Text -> a
it'sSafeIPromise = (value .)
value (Right (v,_)) = v

readInt :: Text -> Int
readInt = it'sSafeIPromise decimal

Yes, the apostrophe is a valid character in identifiers in Haskell, but I had always seen it as a prime, not in a contraction.

active directory applied formal logic ashurbanipal authentication books c c++ comics conference continuations coq data structure digital humanities Dijkstra eclipse virgo electronics emacs goodreads haskell http java job Knuth ldap link linux lisp math naming nimrod notation OpenAM osgi parsing pony programming language protocols python quote R random REST ruby rust SAML scala scheme shell software development system administration theory tip toy problems unix vmware yeti
Member of The Internet Defense League
Site proudly generated by Hakyll.