Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Try Python, Ruby, Lua, Scheme, QBasic, Forth .... Parent comment
Without functions, you really don't have very much of the Haskell language available. It's a partial repl with a fraction of the language at best.
$ ghci Prelude> let fact x = if x == 0 then 1 else x * fact (x - 1) Prelude> fact 6 720
Without functions, you really don't have very much of the Haskell language available. It's a partial repl with a fraction of the language at best.