Expression#
- class Expression(*args, **kwargs)[source]#
- Bases: - Object- Abstract base class for expressions. - An - Expressioncan be either a- Typeor a- Term.- Parameters:
- args – Arguments 
- kwargs – Annotations. 
 
- Returns:
 
Unfolded args#
| Expression arguments unfolded. | |
| Gets the expression arguments unfolded. | 
Type constructors#
| Set of type constructors occurring in expression. | |
| Gets the set of type constructors occurring in expression. | |
| Tests whether some type constructor occurs in expression. | 
Type variables#
| Set of type variables occurring in expression. | |
| Gets the set of type variables occurring in expression. | |
| Tests whether some type variable occurs in expression. | 
Instantiation#
| 
 | Applies type-variable instantiation theta to expression. |