Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zerr
on June 12, 2015
|
parent
|
context
|
favorite
| on:
Haskell for OCaml programmers
A question: Why ML family languages need `rec` for recursive functions while other languages do not?
eatonphil
on June 12, 2015
|
next
[–]
http://stackoverflow.com/questions/9325888/why-does-ocaml-ne...
and
http://stackoverflow.com/questions/900585/why-are-functions-...
CHY872
on June 12, 2015
|
prev
[–]
They don't. Standard ML has the `fun` keyword which does what you want. OCaml has it, but it could easily be for legacy reasons - it's hardly a sticking point!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: