parameterise over qty semiring
This commit is contained in:
parent
961c8415b5
commit
c45a963ba0
16 changed files with 712 additions and 491 deletions
|
@ -5,6 +5,7 @@ import public Quox.Syntax
|
|||
import public Quox.Equal
|
||||
import public Quox.Pretty
|
||||
import public Quox.Typechecker
|
||||
import public Quox.Syntax.Qty.Three
|
||||
|
||||
import Data.Nat
|
||||
import Data.Vect
|
||||
|
@ -53,7 +54,7 @@ banner : PrettyOpts -> String
|
|||
banner opts = unlines $ zipWith (join1 opts) (qtuwu opts) (text opts)
|
||||
|
||||
export
|
||||
tm : Term 1 2
|
||||
tm : Term Three 1 2
|
||||
tm =
|
||||
(Pi One "a" (BVT 0) (TUsed $ E (F "F" :@@ [BVT 0, FT "w"]))
|
||||
`DCloT` (K One ::: id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue