Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lenticular
on March 3, 2019
|
parent
|
context
|
favorite
| on:
Functional Programming in OCaml
You can define monads in OCaml just fine using the module system, but there's no do-notation. I think there is a PPX extension to give that, though.
thedufer
on March 3, 2019
[–]
The ppx extension in question is called let-syntax, but also 4.08 is almost here and has built-in support for something similar.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: