I studied some examples from the chapter A Fistful of Monads , in which you learned about Haskell, and some returned errors when I ran them in GHCi 7.6. 3:
Prelude> Just (+3) <*> Just 3 <interactive>:2:11: Not in scope: `<*>'
I get a similar error when using <$> .
source share