Created
January 6, 2018 12:23
-
-
Save liarokapisv/dcd2b0108ab80d413e80d712650dc186 to your computer and use it in GitHub Desktop.
Case split
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
module Test | |
record Ann where | |
constructor MkAnn | |
ann1 : Type | |
data Test : Type where | |
MkTest : Test | |
AnnTest : Ann -> Type | |
AnnTest a = (Test , ann1 a) | |
TAnn : Ann | |
TAnn = MkAnn () | |
-- this doesn't case split more | |
test : AnnTest TAnn -> () | |
test (a, b) = ?test_rhs_1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment