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
Functions that can dispatch on the first n values (optionally passing them to another fn) would be nice. e.g. something like
(dispatch-1 keyword) that would be equivalent to (fn [k & _] (keyword k), but with better per-arity optimizations. I have found myself writing these sorts of functions over and over again, and having a set of util fns for common use cases seems like a win.
The text was updated successfully, but these errors were encountered:
Functions that can dispatch on the first
n
values (optionally passing them to another fn) would be nice. e.g. something like(dispatch-1 keyword)
that would be equivalent to(fn [k & _] (keyword k)
, but with better per-arity optimizations. I have found myself writing these sorts of functions over and over again, and having a set of util fns for common use cases seems like a win.The text was updated successfully, but these errors were encountered: