How to partially apply the infix function, for example Basics. +?

All the examples I've seen so far create the wrapper function around Basics.+ , And then partially apply this:

 sum xy = x + y plusOne = sum 1 

However, I am sure there is a way to avoid additional packaging.

+7
elm partial-application
source share
1 answer

Wrap it in brackets

 plusOne = (+) 1 
+11
source share

All Articles