News for hackers. Stuff that matters.
Re:Schema for Clojure(Script) Data Shape Declaration and Val... by drcode on Thursday September 05, 2013 @12:49PM (#6335222)
Hey, I like what you're doing here, I think I'll use this... it gives you a lot of the benefits of a deep type system while being completely orthogonal to the design of the program and without the cognitive overhead of a complex type system.

Also, functional programming is heavily focused on data transformations, which in practice means lots of deeply nested heterogenous data structures... these types of structure are usually tedious to put into a static type system, but your system appears to make it easy.

Re:Schema for Clojure(Script) Data Shape Declaration and Val... by aria on Thursday September 05, 2013 @01:05PM (#6335354)
Thanks! Yeah I think a traditional type system wouldn't make sense for Clojure, you need something that can describe data structures more succinctly, which is what we were shooting for
Re:Schema for Clojure(Script) Data Shape Declaration and Val... by ambrosebs on Friday September 06, 2013 @05:07AM (#6339405)
Just so readers don't deduce you're talking about core.typed, core.typed is plenty expressive enough to represent many idiomatic Clojure data structures, and very succinctly.

eg. Heterogeneous keyword maps https://github.com/frenchy64/core.typed-example/blob/master/...