marick / structural-typing

Structural typing for Clojure, somewhat inspired by Elm. Tailored to "flow-style" programming, where complex structures flow through a series of functions, each of which makes a smallish change. Can also be used in testing tools and the like that need to describe how a nested structure differs from a description.
MIT License
246 stars 9 forks source link

Should `all-built-like` include indices? #7

Closed marick closed 9 years ago

marick commented 9 years ago

Right now, all-built-like :Type <sequence> just (in effect) mapcats built-like over the sequence. Perhaps it should instead do the equivalent of (built-like {[ALL] (includes :Type)})?

marick commented 9 years ago

(That would make the output more like "[0 :x] should be..." "[1 :y] should be...") than ":x should be..." ":y should be")

marick commented 9 years ago

I added this. It's in the current 1.0RC-1