Skip to content

Mismatch in Set / SetOp causes (undesireable?) cartesian Coeffect Kind #306

@buggymcbugfix

Description

@buggymcbugfix
none : Int [{} : Set X]
none = [42]

weak : forall {a : Type} . a [{} : SetOp X] -> ()
weak [_] = ()

good3 : ()
good3 = weak none

This type checks despitenone being Set instead of SetOp.

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