Home | Trees | Indices | Help |
---|
|
object --+ | ADT
Algebraic Data Type.
This is a base class for all ADTs. ADT represented by a tuple of arguments, stored in a `arg` field. Arguments should be instances of ADT class, numbers, strings or lists. Empty set of arguments is permitted. A one-tuple is automatically untupled, i.e., `Int(12)` has value `12`, not `(12,)`. A name of the constructor is stored in the `constr` field
A structural comparison is provided.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Sep 22 18:58:39 2016 | http://epydoc.sourceforge.net |