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.

19 lines
654 B

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