public class Prod2 extends Val
Base class for values constructed with 2-ary constructors.
This will be extended by constructors of sum types and by product types.
Subclasses can overwrite the FV.constructor()
method.
Note that Prod2 is not a subclass of Prod1!
Modifier and Type | Field and Description |
---|---|
Lazy<FV> |
mem1
Field 1
|
Lazy<FV> |
mem2
Field 2
|
static Lambda |
mhget1 |
static Lambda |
mhget2 |
Modifier | Constructor and Description |
---|---|
protected |
Prod2(Lazy<FV> arg1,
Lazy<FV> arg2)
Constructor.
|