Re:What is a functional programming language?
by antipax on Thursday July 23, 2009 @03:06PM
(#720140)
Really enjoyed the explanation of how addition falls out of the lambda calculus, as I'd never seen that before.
[ Parent
| on HN ]
Re:What is a functional programming language?
by ambulatorybird on Thursday July 23, 2009 @05:41PM
(#720430)
You can also do sequencing (assuming applicative order) and conditionals:
'a; b' ==> (fn x -> b) a
true = fn x -> fn y -> x
false = fn x -> fn y -> y
if = fn p -> fn -> c -> fn a -> p c a