| 
| Typed.Type | | Stability | experimental |  | Maintainer | thanos@sians.org |  
  |  
  | 
 | 
 | 
 | 
| Description | 
| Types of the typed system.
 | 
 | 
| Synopsis | 
 | 
 | 
 | 
 | 
| Data types
 | 
 | 
 | 
| Definition of types for this calculus.
 |  | Constructors |  | TpUnit | Unit type.
 |  | TpBool | Boolean type.
 |  | TpNat | Natural numbers type.
 |  | TpArrow Type Type | Function type.
 |  | TpCustom String | Custom-named type.
 |  | TpBap String | Baptized type.
 |  | TpWrong | Wrong type, with an explanation of what went wrong.
 |  | TpError String | Type error.
 |  
  |    Instances |   |  
  | 
 | 
 | 
| A typing of a variable name to a type.
 | 
 | 
 | 
| A series of typings.
 | 
 | 
| Supplamentary creators and extractors
 | 
 | 
 | 
| Make up a type name for the given variable.
 | 
 | 
 | 
| Return just the domain of an arrow.
 If the type has been made up, make up another one for its domain.
 | 
 | 
 | 
| Return just the codomain of an arrow.
 If the type has been made up, make upanother one for its domain.
 | 
 | 
 | 
| Type many variables at once with a single Type, returning a Context.
 | 
 | 
 | 
| Turn a list of types into an arrow by associating to the right.
 (Something like foldr1 TpArrow types but returns Unit if empty.)
 | 
 | 
| Produced by Haddock version 2.4.2 |