
cis - straight - white - 30 or 40 years old
clojure programmer
living in the shadow of grief
nothing remains forever empty
Profile pic commissioned from @ICELEVEL
I like it sometimes, map (filter p) feels more readable than map (\x -> filter p x)
but if there were terse lambda syntax ... map {filter p _} ... 👀
f(λx. g(x)) because it's just scoped to the application (like currying)
oh so this is literally just explicit-syntax currying. maybe u have a point
In Clojure, there’s #(f arg %). Used like (map #(+ 50 %) (range 10)). You can also say %1 or %2 or whatever number to make an anonymous function of arity “highest number used”, and %& to mean a rest argument. I don’t think it’s very pretty but it’s super useful in small cases.