Skip to content

Export and document $.validate #219

@dakom

Description

@dakom

Type.validate is a useful tool for both getting type validation as an Either, and getting more detailed info about where an error occured

Would be great to have it documented on the public Readme(s) - and to have it exported as a function on sanctuary-def via $.validate() :)

I'd imagine the signature would be something like:

validate :: Type -> a -> Either ErrorMessage a

Not sure what ErrorMessage is though

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