Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
purescript docs error
Error found:
in module Test.QuickCheck.Gen
at <path>/bower_components/purescript-quickcheck/src/Test/QuickCheck/Gen.purs line 79, column 16 - line 79, column 52
No type class instance was found for
Control.Monad.Rec.Class.MonadRec (State
{ newSeed :: Seed
, size :: Int
}
)
while checking that expression #dict MonadRec
has type { tailRecM :: forall a b. (a -> Gen (Step a b)) -> a -> Gen b
, "Monad0" :: {}
-> { "Applicative0" :: {}
-> { pure :: forall a. a -> Gen a
, "Apply0" :: {}
-> { apply :: forall a b. Gen (a -> b) -> Gen a -> Gen b
, "Functor0" :: {}
-> { map :: forall a b. (a -> b) -> Gen a -> Gen b
}
}
}
, "Bind1" :: {}
-> { bind :: forall a b. Gen a -> (a -> Gen b) -> Gen b
, "Apply0" :: {}
-> { apply :: forall a b. Gen (a -> b) -> Gen a -> Gen b
, "Functor0" :: {}
-> { map :: forall a b. (a -> b) -> Gen a -> Gen b
}
}
}
}
}
in value declaration monadRecGen
See https://github.com/purescript/documentation/blob/master/errors/NoInstanceFound.md for more information,
or to contribute content related to this error.
* ERROR: Subcommand terminated with exit code 1
╰─➤ pulp -v 1 ↵
Pulp version 12.0.1
purs version 0.11.7 using ~/.nvm/versions/node/v8.8.1/bin/purs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment