3 ms·
Common Lisp has a type system, if I understood your meaning right.
by darthrupert 5y ago
Common Lisp has a type system, if I understood your meaning right.
- peterashford 5y agoCommon Lisp also has a system for OO coding but Common Lisp is not an OO Language.
- morelisp 5y ago"Type system" is being used here to mean "static type checking" while CLisp has some facilities for this they are implementation-specified and not commonly used. (Even its dynamic typing checking is not commonly used.)
- Verdex 5y agoCommon lisp is dynamically typed. There are type hints that you can give the compiler, but I believe that's only useful for generating faster assembly. Also you can get compile time warnings from macros, but that's much closer in nature to getting a parse error (something pretty much every language does that I'm aware of static or dynamically typed). I wouldn't be surprised to learn that there exists a common lisp typing extension that someone made with macros (after all racket has something like that iirc), however if it exists I didn't use it regardless.
- lispm 5y agosee here: http://sbcl.org/manual/index.html#Handling-of-Types http://sbcl.org/manual/index.html#Handling-of-Types