Comment

Comment by tel

For comparison, here's the same thing in Haskell

    f = \x -> \y -> x + y
    g = f 6
with the added bonus of automatic documentation

    ghci> :t f
    f :: Integer -> Integer -> Integer
    ghci> :t g
    g :: Integer -> Integer
    ghci> :t uncurry f
    uncurry f :: (Integer, Integer) -> Integer
parent tel 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton