I'm looking for a function of type (a -> b -> c -> d) -> c -> a -> b -> d
. In other words, a function which can partially apply the third argument to a function.
Is there a library that has such a function? Would it be useful for me to make one or add such functions to one of the elm-community libraries (perhaps elm-function-extra)?