Re:The perils of Lisp in production
by Kototama on Wednesday April 04, 2012 @09:25AM
(#3797421)
Pre/post conditions at compile-time in Clojure? Nope. How could you know the value returned by a function at compile time? Or the value of the inputs?
You could only know the types of the input if the compiler was smart enough and define constraints on the types but as far as I know it's not possible in Clojure.
You could only know the types of the input if the compiler was smart enough and define constraints on the types but as far as I know it's not possible in Clojure.