The snippets in this posts are written in PureScript. My bad for not making it clear, sorry!
If you are curious you can find the answer to your question in the "Differences from Haskell" docs in the PureScript docs repo. The punch line is the one that follows:
Polymorphic functions in PureScript require an explicit forall to declare type variables before using them.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What is "forall a b.". When I check map in the ghci it just gives me
The snippets in this posts are written in PureScript. My bad for not making it clear, sorry!
If you are curious you can find the answer to your question in the "Differences from Haskell" docs in the PureScript docs repo. The punch line is the one that follows: