You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently i had to do the following https://i.imgur.com/DMGUjlt.png
The reason is that multimethods are not actually js functions but rather objects implementing the
Ifn protocol so in order to be used as reducers one has to call them from within an actual function
I think the same is true for keywords, sets and maps. It would be a good enhanchment to be able to use them as reducers without having a top level wrapper function
The text was updated successfully, but these errors were encountered:
Recently i had to do the following
https://i.imgur.com/DMGUjlt.png
The reason is that multimethods are not actually js functions but rather objects implementing the
Ifn protocol so in order to be used as reducers one has to call them from within an actual function
I think the same is true for keywords, sets and maps. It would be a good enhanchment to be able to use them as reducers without having a top level wrapper function
The text was updated successfully, but these errors were encountered: