Permalink
Browse files

I think methods can access record members. relevant in events.clj too

  • Loading branch information...
1 parent 3561903 commit 8ab5222470266bdebd71b3b2b20764966f5dae57 @scottjad scottjad committed Jun 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Hafni/arrow.clj
View
@@ -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))

0 comments on commit 8ab5222

Please sign in to comment.