miniblog.
← Back to all posts
Wilfred Hughes
May 2, 2024 at 04:24
I still find it weird that constructors aren't first class functions in OCaml. `id Just` is legal in Haskell, but `id Some` is an error in OCaml. Are there any advantages of the OCaml approach?