Skip to content

Argument arity error? #13

Description

@roper79

Compiling Example.TodoList
Error found:
in module Example.TodoList
at src/Example/TodoList.purs:57:26 - 57:30 (line 57, column 26 - line 57, column 30)

Data constructor Example.Types.Todo was given 0 arguments in a case expression, but expected 1 arguments.
This problem can be fixed by giving Example.Types.Todo 1 arguments.

while inferring the type of $2 ->
$3 ->
case $2 $3 of
todo'@todo { status: status } -> ...
in value declaration todoListClass

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

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions