Created
November 25, 2012 21:15
-
-
Save edwinb/4145388 to your computer and use it in GitHub Desktop.
List bounds
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
using (xs : List a) | |
data InBound : Nat -> List a -> Set where | |
inO : InBound O (x :: xs) | |
inS : InBound k xs -> InBound (S k) (x :: xs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment