a type theory with equality based on setoids
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
528 B

  1. module Presyntax where
  2. import Data.Text (Text)
  3. import Syntax (Plicity)
  4. data RawExpr
  5. = Rvar Text
  6. | Rapp Plicity RawExpr RawExpr
  7. | Rlam Plicity Text RawExpr
  8. | Rpi Plicity Text RawExpr RawExpr
  9. | Rlet Text RawExpr RawExpr RawExpr
  10. | Rtype
  11. | Rhole
  12. | Rtop | Runit
  13. | Rbot
  14. | Req RawExpr RawExpr
  15. | Rrefl
  16. | Rcoe
  17. | Rcong
  18. | Rsym
  19. | Rsigma Text RawExpr RawExpr
  20. | Rpair RawExpr RawExpr
  21. | Rproj1 RawExpr
  22. | Rproj2 RawExpr
  23. | RSrcPos (Int, Int) (Int, Int) RawExpr
  24. deriving (Eq, Show, Ord)