Skip to content

Improve AutocompleteOrChoice data structure #196

@L0neGamer

Description

@L0neGamer

Currently we have

type AutocompleteOrChoice a = Either Bool [Choice a]

Which is not clear at all what it could mean.

We should have a data structure with three constructors instead.

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