Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

not compiling with purescript 0.12 #51

@CarstenKoenig

Description

@CarstenKoenig

I did not check it directly against the lib yet, but if I let bower download this (it happened to me while testing purescript-agonaut-codecs which tests have a dependency to purescript-strongcheck), I get an error like this:

Compiling Test.StrongCheck
Error found:
in module Test.StrongCheck
at bower_components\purescript-strongcheck\src\Test\StrongCheck.purs line 80, column 10 - line 80, column 24

  Could not match type

    Lazy

  with type

    Function Unit


while trying to match type Free Lazy
  with type Free (Function Unit)
while checking that expression (flip bind) test
  has type GenT (Free Lazy) prop0 -> GenT (Free (Function Unit)) Result
in value declaration testableGen

where prop0 is a rigid type variable

See https://github.com/purescript/documentation/blob/master/errors/TypesDoNotUnify.md for more information,
or to contribute content related to this error.

here is the "offending" line:

https://github.com/purescript-contrib/purescript-strongcheck/blob/10ab003a77f87711e51cd74e954c9bcb4691d93f/src/Test/StrongCheck.purs#L80

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions