dash.el icon indicating copy to clipboard operation
dash.el copied to clipboard

-flip inside ->>

Open meedstrom opened this issue 2 years ago • 1 comments

Hi, it'd be nice to be able to do this

(->> '("foo" "bar" "baz")
  ((-flip #'string-join) ","))

Of course there's s-join so we don't need -flip in this case, but it illustrates the principle. To be able to modify any function, also with -not, -applify etc.

I've no experience with Clojure, so if there's an alternative method, I'd be happy to hear about it!

meedstrom avatar Sep 13 '21 14:09 meedstrom