Class Ast.LiteralPat

  • Enclosing class:
    Ast

    public static class Ast.LiteralPat
    extends Ast.Pat
    Literal pattern, the pattern analog of the Ast.Literal expression.

    For example, "0" in "fun fact 0 = 1 | fact n = n * fact (n - 1)".