Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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