Skip to content

Commit

Permalink
I think methods can access record members. relevant in events.clj too
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjad committed Jun 21, 2011
1 parent 3561903 commit 8ab5222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hafni/arrow.clj
Expand Up @@ -24,7 +24,7 @@

(defrecord Arrow [f]
clojure.lang.IFn
(invoke [this input] ((:f this) input))
(invoke [this input] (f input))
Arrow_p
(>>> [this dest]
(if (isa? (class this) (class dest))
Expand Down

0 comments on commit 8ab5222

Please sign in to comment.