Re:Grain: A strongly-typed functional programming language f...
by tom_mellior on Sunday April 25, 2021 @07:38AM
(#26931987)
> no need for type annotations
This language has polymorphism and mutation, like OCaml. I wonder how they avoid the "value restriction" problem that in OCaml forces you to write type annotations in some places: https://ocaml.org/manual/polymorphism.html
This language has polymorphism and mutation, like OCaml. I wonder how they avoid the "value restriction" problem that in OCaml forces you to write type annotations in some places: https://ocaml.org/manual/polymorphism.html