Created
July 31, 2022 13:44
-
-
Save ggVGc/77f1468484702783b1ea0176d1980304 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type family And a b where | |
And 'True 'True = 'True | |
And _ _ = 'False | |
type family RangeSubset a b where | |
RangeSubset ('Tuple a1 b1) ('Tuple a2 b2) = And (RangeSubset a1 a2) (RangeSubset b1 b2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment