Class Core.LiteralPat

  • Enclosing class:
    Core

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

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