Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


You might peek at Coalton.

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…


It 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: