[TOC]
There are very good five stdlib operates we can use.
| -- an example of how to derive a show instance for a Maybe type | |
| -- not totally sure why `derive instance showMyMaybe :: (Show a) => Show (MyMaybe a)` errors with... | |
| -- error: CannotDerive : | |
| -- Cannot derive a type class instance for Data.Show.Show (MyMaybe a) since instances of this type class are not derivable. | |
| module Main where | |
| import Prelude | |
| import Control.Monad.Eff (Eff) | |
| import Control.Monad.Eff.Console (CONSOLE, log) |