less prototype, less bad code implementation of CCHM type theory
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.

16 lines
565 B

  1. module Elab.WiredIn where
  2. import Syntax
  3. wiType :: WiredIn -> NFType
  4. wiValue :: WiredIn -> NFType
  5. iand, ior :: NFEndp -> NFEndp -> NFEndp
  6. inot :: NFEndp -> NFEndp
  7. ielim :: NFSort -> Value -> Value -> Value -> NFEndp -> Value
  8. outS :: NFSort -> NFEndp -> Value -> Value -> Value
  9. comp :: NFLine -> NFEndp -> Value -> Value -> Value
  10. glueType :: NFSort -> NFEndp -> NFPartial -> NFPartial -> Value
  11. glueElem :: NFSort -> NFEndp -> NFPartial -> NFPartial -> NFPartial -> Value -> Value
  12. unglue :: NFSort -> NFEndp -> NFPartial -> NFPartial -> Value -> Value