declareDatatype method
Declare a datatype with the given name and constructors.
Implementation
DatatypeInfo declareDatatype(Sym name, List<Constructor> constructors) {
return getDatatypeInfo(DatatypeSort(name, constructors));
}
Declare a datatype with the given name and constructors.
DatatypeInfo declareDatatype(Sym name, List<Constructor> constructors) {
return getDatatypeInfo(DatatypeSort(name, constructors));
}