Fix example in GHC user guide in SafeHaskell section
The example given in the SafeHaskell section uses an implementation of Monad which no longer works. This MR removes the non-canonical return instance and adds the necessary instances of Functor and Applicative.
Loading
Please register or sign in to comment