3 ms·
Elm Records and OCaml objects can be used structurally, so it's not even an unusual concept in the FP space.
by square_usual 5y ago
Elm Records and OCaml objects can be used structurally, so it's not even an unusual concept in the FP space.
- cococonut 5y agoAnd PureScript. OCaml also has polymorphic variants. Which could also be called anonymous sum types.