(no subject)

Sep 20, 2015 01:08

Теперь Haskell стал, как никогда, близок к Java.

main = do
print("bananas".reverse)
print(4.negate.recip)
print([1..5].map (\ x -> x * 2).filter (\ x -> x > 5))

where (.) = flip id

shebang

haskell, юмор

Previous post Next post
Up