Skip to content

Instantly share code, notes, and snippets.

@AidanDelaney
Created October 22, 2017 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AidanDelaney/3dbf574717123b308881c7a1b3588560 to your computer and use it in GitHub Desktop.
Save AidanDelaney/3dbf574717123b308881c7a1b3588560 to your computer and use it in GitHub Desktop.
Kind Error
module FuncExample where
import Control.Monad (class Monad)
import Data.Maybe(Maybe(..))
import Prelude
class Quux m where
quibble :: forall a. m a -> m a
newtype Foo = F (Maybe Int)
instance quuxFoo :: Quux Foo where
quibble ma = ma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment