Exemplo n.º 1
0
 public TermWithExplicitType(Term term, TypeIsa type)
 {
     Term = term;
     Type = type;
 }
Exemplo n.º 2
0
 public ArrowType(TypeIsa argType, TypeIsa resType)
 {
     ArgType = argType;
     ResType = resType;
 }
Exemplo n.º 3
0
 public R Visit(TypeIsa t)
 {
     return(t.Dispatch(this));
 }
Exemplo n.º 4
0
 public static DefDecl CreateWithoutArg(string name, TypeIsa type, Term rhs)
 {
     return(new DefDecl(name, type, new Tuple <IList <Term>, Term>(new List <Term>(), rhs)));
 }
Exemplo n.º 5
0
 public DefDecl(string name, TypeIsa type, Tuple <IList <Term>, Term> equation) : base(name)
 {
     Type     = type;
     Equation = equation;
 }
Exemplo n.º 6
0
 public FunDecl(string name, TypeIsa type, IList <Tuple <IList <Term>, Term> > equations) : base(name)
 {
     Type      = type;
     Equations = equations;
 }