3 ms·
Common Lisp doesn't offer features like sum types right? I am under the impression that it is a dynamically typed language like most Lisps, but I could be wrong
by cercatrova 5y ago
Common Lisp doesn't offer features like sum types right? I am under the impression that it is a dynamically typed language like most Lisps, but I could be wrong.
- Siira 5y agoIt has optional typing, but as it’s fast without it, I haven’t dug into them. I don’t know about a union type though.
- adenozine 5y agoYou might peek at Coalton. https://coalton-lang.github.io/reference/ https://coalton-lang.github.io/reference/ I don’t think it has sum types, but it offers a rather sophisticated and very functionally oriented type system that compiles back to SBCL. It looks neat, haven’t found time to play yet…