Quote o' the day: The award for best function name goes to...
Posted on December 14, 2012 by Tommy McGuire
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.