3 ms·
I'd bet 4:1 odds that Haskell supports optional arguments with partial application using something like typeclass magic.
by sukilot 6y ago
I'd bet 4:1 odds that Haskell supports optional arguments with partial application using something like typeclass magic.
- marcosdumay 6y agoIf you want optional arguments and partial application, you need some way to declare that the optional arguments are left blank. Haskell-style syntax has no such way. But yeah, functors are all about building stuff like that. So there are similar things, just with a different syntax.