r/programmingchallenges • • Sep 10 '11

Challenge: Hello, world!

I'm kind of interested in running xmonad and learning Haskell. Should we all tackle learning about a new programming paradigm?

10 Upvotes

21 comments sorted by

View all comments

Show parent comment

1

u/teraflop Sep 10 '11

Nope.

(((>1) .) . gcd) = \x y -> (gcd x y) > 1

((>1) . gcd)     = \x -> (gcd x) > 1

1

u/HigherFive Sep 10 '11

I figured it out, thanks!