Syntax: $ operator #28
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Haskell supports
f $ g a
as a shorthand forf (g a)
.The way this can be implemented is adding to the syntax the $ operator with the right precedence.
In Haskell,
$
has the following type:($) :: (a -> b) -> a -> b
So this depends on Polymorphism.
The text was updated successfully, but these errors were encountered: