fpl.hs:42:20: Not in scope: ‘<$>’ … Perhaps you meant one of these:
On a hunch I changed import Control.Applicative (empty)
to import Control.Applicative
and then it started working. I can only expect that if megaparsec's own official tutorials are thus
out of sync with current haskell, then parsec's will be even more so.
Also I find no megaparsec on hoogle/hayoo
So how does one go about handling the dilemma:
- megaparsec : in development but undocumented on hayoo/hoohle