Skip to content

Commit

Permalink
OTT Done
Browse files Browse the repository at this point in the history
  • Loading branch information
KonjacSource committed Nov 9, 2024
1 parent a56b42e commit df9896b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Examples/Example.shitt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ fun J {A : U} {a : A} (P : (b : A) -> Id a b -> U) (p : P a (refl _)) (b : A) (e
fun add (m n : N) : N where
| zero n = n
| (succ m) n = succ (add m n)
| m (succ n) = succ (add m n)

#eval (\ m n . add m (succ n))

data Vec (A : U) : (_ : N) -> U where
| nil : ... zero
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ ghci> run "Eaxmple.shitt"
- [x] Module system (very naive)
- [x] Mutual recursion
- [x] Termination checking
- [x] [OTT](https://github.com/KonjacSource/ShOTT)

## TODO

- [ ] OTT
- [ ] Operators
- [ ] Universe polymorphism
- [ ] Positive checking for data types
Expand Down

0 comments on commit df9896b

Please sign in to comment.