New answers tagged

1

The answer to your question is the "implicit currying" option. However, there are times where you would use the second option. In Haskell, for performance, you may want to share some work in the partially applied result. (Note, nothing in the Report guarantees this sharing or precludes the compiler from lifting out the work itself. In practice, GHC ...



Top 50 recent answers are included