Skip to content

Better errors in large-anon parsing code #189

@phadej

Description

@phadej

Currently the parsing code in large-anon (i.e. code which elaborates constraints/givens etc.) uses Maybe as it's main monad.

This means that we either get Just result (good) or machine says No (Nothing). This is fine for the end user but somewhat annoying when developing plugin itself.

Using even Either SDoc is already an improvement, but we can do better to support few Alternative uses.

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