Skip to content

pure and ipure for Form are inconsistent #2

Description

@debug-ito

For Form, pure function returns a Form with Proved () (FormRange i i) a, while ipure function returns a Form with Proved p (unitRange i) a. FormRange i i is a zero-width range, and it's not equal to unitRange i.

I think pure function is wrong because the FormRange in the FormState would never be a zero-width range in normal operation.

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