
25 Jan
2011
25 Jan
'11
10:08 a.m.
On 25 January 2011 09:20, Ketil Malde
(+3) <$> readLn
This is how I'd like it. import Control.Applicative(pure,liftA2) main = print =<< pure 3 <+> readLn where (<+>) = liftA2 (+) Just a matter of taste I suppose. And about auto-lifting, I vaguely remember reading something about possible different denotations it could lead to, but I can't find it now. Ozgur