News for hackers. Stuff that matters.
Re:Structural Typing for Clojure by seivadmas on Saturday October 17, 2015 @05:16PM (#10406146)
Important to note that this isn't STATIC typing (which detects errors at compile-time), rather this is more like a validation library to make sure structures have certain properties at run-time.

Not saying it isn't useful, in fact I have a project in which this would be a very good fit and I might even implement it there.

Re:Structural Typing for Clojure by seliopou on Saturday October 17, 2015 @05:22PM (#10406179)
Indeed. Elm implements extensible record types that can be inferred and checked statically. Similarly to object types in OCaml, which additionally supports structural subtying of of other sorts as well (e.g., polymorphic variants). It's a little strange to compare this library with Elm.

This looks like a contract library, which I assume already exists in Clojure. It'd be interesting to see what's unique about this implementation, if anything.

Re:Structural Typing for Clojure by _halgari on Saturday October 17, 2015 @08:26PM (#10406751)
Right, this is basically a validation library