2 ms·
What do you mean with going beyond types? Is it possible to define some unique compile time constraints on Clojure not related to the type system?
by hopia 7y ago
What do you mean with going beyond types? Is it possible to define some unique compile time constraints on Clojure not related to the type system?
- dllthomas 7y agoWhen spec was proposed I remember some talk of compile-time checking of some annotations. I don't know whether anything came of that, but in theory it would allow what you're talking about. That has no relation to seq, though, which is the kind of thing supported by many statically typed languages.