Class Ast.ConPat

Enclosing class:
Ast

public static class Ast.ConPat extends Ast.Pat
Type constructor pattern with an argument.

For example, in "fun nvl NIL = 0 | OPTION x = x", "OPTION x" is a type constructor pattern that binds "x"; and "NIL" is a type constructor pattern whose pat is null.

See Also: