3 ms·
Can anyone comment on Gleam's type system? Is it similar to Haskell's?
by tines 3y ago
Can anyone comment on Gleam's type system? Is it similar to Haskell's?
- turboponyy 3y agoNo, it is not. It has no plans to introduce type classes and allows for impure (effectful) functions. It is perhaps most similar to OCaml.
- Jeff_Brown 3y agoHaskell's is much deeper but Gleam gives you algebraic types, generics and type aliases. I believe Gleam offers deeper pattern-matching facilities. That is of course not the type system, but feels closely related to me.