mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
Fix dynamic curry regression
I accidentally committed a change to the definition of curry that severly alters how it functions! This commit fixed that, and adds a test so that I don't unwittingly break it again :)
This commit is contained in:
parent
3b0438fbc5
commit
3cbe0e8c79
@ -200,7 +200,7 @@
|
||||
```")
|
||||
(defndynamic curry [f x]
|
||||
(fn [y]
|
||||
(apply f (list x y))))
|
||||
(f x y)))
|
||||
|
||||
(doc curry*
|
||||
"Curry functions of any airity.
|
||||
|
Loading…
Reference in New Issue
Block a user