Advertisement
tinyevil

Untitled

Mar 7th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. data ListOfSize (n:nat)
  2. empty : ListOfSize 0
  3. cons : (m:nat) -> (elt:bool) -> ListOfSize m -> ListOfSize (S m)
  4.  
  5.  
  6. tail : (n:Nat) -> (ls: ListOfSize (n + 1)) -> ListOfSize n
  7. case ls of
  8. cons _ _ ls1 -> ls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement