What is Nostr?
Wilfred Hughes /
npub1ylr…x3zn
2024-05-02 04:24:42

Wilfred Hughes on Nostr: I still find it weird that constructors aren't first class functions in OCaml. `id ...

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?
Author Public Key
npub1ylramnd6rkxvs3cers3652l4fuy9ehkmdfkhuhjxpekgkktes7rqzdx3zn