Skip to content

Commit

Permalink
reenable cnstr records for this major push
Browse files Browse the repository at this point in the history
  • Loading branch information
fogus committed Sep 5, 2010
1 parent d615d5a commit 06ec6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fogus/me/trammel.clj
Expand Up @@ -208,7 +208,7 @@
(list `fn '[f c] (list `with-constraints 'f 'c)) c#))
nil)))

#_(defmacro defconstrainedrecord
(defmacro defconstrainedrecord
[name slots & etc]
(let [fields (->> slots (partition 2) (map first) vec)
defaults (->> slots (partition 2) (map second))
Expand Down

0 comments on commit 06ec6d4

Please sign in to comment.