Skip to content

Purescript Without Node Example Fails #420

Open

Description

@jgarte

Hi,

Following the Purescript Without Node Example in the documentation fails with the following error:

Compiling Type.Data.RowList
Warning found:
at dependencies/purescript-prelude/src/Type/Data/RowList.purs:3:22 - 3:34 (line 3, column 22 - line 3, column 34)

  Kind imports are deprecated and will be removed in a future release. Omit the 'kind' keyword instead.


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


Error found:
in module Type.Data.RowList
at dependencies/purescript-prelude/src/Type/Data/RowList.purs:6:26 - 6:33 (line 6, column 26 - line 6, column 33)

  Could not match kind

    Type -> Type

  with kind

    Type


while checking that type RowList
  has kind Type
in type constructor RLProxy

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

How can we update it?

I'd like to be able to complete it to the end.

Activity

  1. JordanMartinez commented on Feb 22, 2022

    @JordanMartinez
    Contributor

    For the warning...

    - import Foo (kind MyKind)`
    + import Foo (MyKind)`

    For the error
    Add Type to it

    - RowList
    + RowList Type

    where Type comes from Prim.

  2. jgarte commented on Feb 26, 2022

    @jgarte
    Author

    Hi,

    Thanks for the advice! Does this requires that change in purescript-prelude?

  3. JordanMartinez commented on Feb 26, 2022

    @JordanMartinez
    Contributor

    Not quite. It means the code was compiled using a later compiler release (e.g. v0.14.x) on a version of a library that isn't compatible with that release. So, it's more like the version of purescript-prelude in the example needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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