mirror of https://github.com/status-im/reagent.git
Revert "Fix destructuring for variable arity"
This reverts commit ecc7a9c4c3
.
This commit is contained in:
parent
3b8c7a18c7
commit
ae06dc21ae
|
@ -64,7 +64,7 @@
|
|||
(-reset! a (f state x)))
|
||||
(-swap! [a f x y]
|
||||
(-reset! a (f state x y)))
|
||||
(-swap! [a f x y & more]
|
||||
(-swap! [a f x y more]
|
||||
(-reset! a (apply f state x y more)))
|
||||
|
||||
IMeta
|
||||
|
@ -143,7 +143,7 @@
|
|||
(-swap! (._reaction a) f x))
|
||||
(-swap! [a f x y]
|
||||
(-swap! (._reaction a) f x y))
|
||||
(-swap! [a f x y & more]
|
||||
(-swap! [a f x y more]
|
||||
(-swap! (._reaction a) f x y more))
|
||||
|
||||
IPrintWithWriter
|
||||
|
@ -236,7 +236,7 @@
|
|||
(-reset! a (f (-peek-at a) x)))
|
||||
(-swap! [a f x y]
|
||||
(-reset! a (f (-peek-at a) x y)))
|
||||
(-swap! [a f x y & more]
|
||||
(-swap! [a f x y more]
|
||||
(-reset! a (apply f (-peek-at a) x y more)))
|
||||
|
||||
IComputedImpl
|
||||
|
@ -362,7 +362,7 @@
|
|||
(-reset! a (f state x)))
|
||||
(-swap! [a f x y]
|
||||
(-reset! a (f state x y)))
|
||||
(-swap! [a f x y & more]
|
||||
(-swap! [a f x y more]
|
||||
(-reset! a (apply f state x y more)))
|
||||
|
||||
IEquiv
|
||||
|
|
Loading…
Reference in New Issue