Skip to content

Commit fae445c

Browse files
committed
Added the 'function' namespace, for higher order functions based on records.
1 parent a180568 commit fae445c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ tools such as a macro `pret` that prints and returns its argument.
123123
The `active.clojure.match` namespace provides some syntactic sugar
124124
for map matching around `core.match`.
125125

126+
### Higher-order Functions
127+
128+
The `active.clojure.function` namespace provides the same higher order
129+
functions that `clojure.core` does, but implemented via records and
130+
`IFn`, so that the returned "functions" are `=` if created with `=` arguments.
131+
132+
These can be very handy for using React-based libraries like [Reacl](https://github.com/active-group/reacl),
133+
which can optimize work based on the equality of values.
134+
126135
## License
127136

128137
Copyright © 2014 Active Group GmbH

0 commit comments

Comments
 (0)