2 ms·
I prefer Lean to Haskell (never said Lean is a better language) for fairly shallow reasons really: - I like Lean's inductive type system much better that Haske
by ykonstant 2y ago
I prefer Lean to Haskell (never said Lean is a better language) for fairly shallow reasons really:
- I like Lean's inductive type system much better that Haskell's,
- I prefer eager evaluation by default,
- I like the syntax better,
- I like dependent types; they are dangerous, but it is great to have the option.
I suspect some people may also prefer Lean's macro system to Haskell's, but I haven't worked much with either, so I don't know about that.
- Tainnor 2y agoOut of curiosity, have you tried Idris? It would tick at least boxes 2 and 4, while possibly being a little bit more geared towards general programming.