Open tscholak opened 5 years ago
Perhaps I am missing something, but I don't see how to implement this easily. The naive way would require adding two instance declarations for Subsume (corresponding to the two instance declarations you list) that are are overlapping and could lead to non-terminating type checking.
Do you have an implementation in mind?
it would be great if compdata was providing these instances:
I would do it downstream, but
:<:
is a type alias for(Subsume (ComprEmb (Elem f g)) f g)
, andComprEmb
(fromSubsumeCommon
) is not exported.