Skip to content

Order of constructors may give an error with passive positions #124

@jvanbruegge

Description

@jvanbruegge
binder_datatype (FVars: 'a, 'b) term =
Var 'a
| App "('a, 'b) term" "('a, 'b) term"
| Abs x::'a t::"('a, 'b) term" binds x in t
| Live 'b

fails, while this works:

binder_datatype (FVars: 'a, 'b) term =
Var 'a
| Live 'b
| App "('a, 'b) term" "('a, 'b) term"
| Abs x::'a t::"('a, 'b) term" binds x in t

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions