Class Core.ConPat

  • Enclosing class:
    Core

    public static class Core.ConPat
    extends Core.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:
    Core.Con0Pat