Skip to content

Changes to factories and default arguments #16

Merged
merged 4 commits into from Apr 1, 2012

2 participants

@frenchy64
  • remove default arguments for defconstrainedrecord
  • fix positional ->* factory to only accept exact arguments for defconstrainedtype and defconstrainedrecord
  • fix defconstrained record ->* factory to have positional args like the clojure.core version
  • add contracts to defconstrainedrecord map->* factory
  • merged changes with defconstrainedrecord docstring
  • remove zero argument ->* factory
frenchy64 added some commits Mar 30, 2012
@frenchy64 frenchy64 initial version of map->* factory and rid of default args in record 80135bc
@frenchy64 frenchy64 Use reflection 60c0731
@frenchy64 frenchy64 Fix ->* factory to be positional, add map->* factory 12560e4
@frenchy64 frenchy64 Changes to factories and default arguments
- remove default arguments for defconstrainedrecord
- fix positional ->* factory to only accept exact
  arguments for defconstrainedtype and defconstrainedrecord
- fix defconstrained record ->* factory to have positional
  args like the clojure.core version
- add contracts to defconstrainedrecord map->* factory
- merged changes with defconstrainedrecord docstring
8980afa
@frenchy64

I've used this for about a day in Typed Clojure and it's working well. Code's a bit rough, but I think it's robust.

A few design changes also, see ->* factory conforming to clojure.core's.

@fogus fogus merged commit e6fc0b8 into fogus:master Apr 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.