Y
Hacker News
new
|
ask
|
show
|
jobs
by
tel
4161 days ago
Of course, in OCaml that's just
if_then_else c t e = match c with | true -> t () | false -> e ()
So the question sort of becomes one of how painful thunking or anonymous function syntax is.