3 ms·
I haven't used LISP in years, so my information may be out-of-date, but isn't it mostly untyped? I don't remember it having any mechanism for defining types --
by jmillikin 16y ago
I haven't used LISP in years, so my information may be out-of-date, but isn't it mostly untyped? I don't remember it having any mechanism for defining types -- the only types were conses and atoms (numbers, strings, etc). There was no way to say "this string is a Name and this is a City, and they are different types".
- Zak 16y agoCommon Lisp has several kinds of user-defined types (types, structs, classes). It is possible to write non-trivial code without ever using them, and I don't think they really fit in to traditional Lisp style. Classes are fairly popular in modern Common Lisp code.