
30 May
2007
30 May
'07
12:46 p.m.
On Sun, 27 May 2007, Evil Bro wrote:
I'm pretty new to Haskell, so forgive me if my question is due to my non-functional way of thinking...
I have the following code:
Counting can be done elegantly by 'filter' and 'length': length $ filter (>1) $ Monad.liftM2 gcd [2..1000] [2..1000]