Skip to content
Snippets Groups Projects
Commit dcff8851 authored by Nathan PERIER's avatar Nathan PERIER
Browse files

Added method to get the unit type

parent 2808c997
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,12 @@ public class BuiltinType extends Type {
super(n, sp);
}
public static BuiltinType unit() {
return new BuiltinType("unit");
}
@Override
public Type specify(Type[] sp) {
int arity = getArity();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment