3 ms·
But, unless I'm missing something, it's missing the supporting bits you get in a nice functional language, like algebraic datatypes and pattern matching, which
by TylerE 15y ago
But, unless I'm missing something, it's missing the supporting bits you get in a nice functional language, like algebraic datatypes and pattern matching, which make that style much more pleasant.
Of course, most of the functional language DO have generics, and full type inference to boot, also.
- EdiX 15y agoThe ML language family does, other functional languages (the LISP family, Erlang) don't.
- TylerE 15y agoArguably lisp doesn't NEED generics since unless you go around setting lots of type pragmas, the typing system generally doesn't intrude. So, in other words, Lisp doesn't have generics in the same way Python doesn't have generics.
- deleted 15y ago[deleted]