OCaml
How do you feel about an Option.merge function in Stdlib?
Ecosystem
stdlib
yawaramin
April 26, 2020, 9:14pm
19
Yeah, it also lends itself nicely to resource handling:
Downsides to calling Gc.full_major at exit?
show post in topic
Related Topics
Topic
Replies
Views
Activity
Using let-binding syntax to implement option 'or'
Learning
3
853
October 28, 2019
Maybe monad in ocaml
Learning
2
1674
July 25, 2022
Style of ocaml snippet
Learning
1
465
December 6, 2021
Exceptions vs Option
Learning
ocaml
3
2238
February 13, 2018
Option.fold with init taking a thunk
Learning
12
595
February 27, 2023