diff options
Diffstat (limited to 'src/algebra/pattern.spad.pamphlet')
-rw-r--r-- | src/algebra/pattern.spad.pamphlet | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/algebra/pattern.spad.pamphlet b/src/algebra/pattern.spad.pamphlet index 031c6167..a0e4c3a0 100644 --- a/src/algebra/pattern.spad.pamphlet +++ b/src/algebra/pattern.spad.pamphlet @@ -80,15 +80,15 @@ Pattern(R:SetCategory): Exports == Implementation where ++ "failed" otherwise. elt : (BOP, List %) -> % ++ \spad{elt(op, [a1,...,an])} returns \spad{op(a1,...,an)}. - "+" : (%, %) -> % + + : (%, %) -> % ++ \spad{a + b} returns the pattern \spad{a + b}. - "*" : (%, %) -> % + * : (%, %) -> % ++ \spad{a * b} returns the pattern \spad{a * b}. - "**" : (%, NonNegativeInteger) -> % + ** : (%, NonNegativeInteger) -> % ++ \spad{a ** n} returns the pattern \spad{a ** n}. - "**" : (%, %) -> % + ** : (%, %) -> % ++ \spad{a ** b} returns the pattern \spad{a ** b}. - "/" : (%, %) -> % + / : (%, %) -> % ++ \spad{a / b} returns the pattern \spad{a / b}. depth : % -> NonNegativeInteger ++ depth(p) returns the nesting level of p. |