From 9e07dcd91c45bf8b22d932321f5c97e931ffe8ac Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 11 Jun 2009 23:00:40 +0000 Subject: * algebra/: Don't quote '!' at end of names. --- src/algebra/patmatch1.spad.pamphlet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/algebra/patmatch1.spad.pamphlet') diff --git a/src/algebra/patmatch1.spad.pamphlet b/src/algebra/patmatch1.spad.pamphlet index 087b8c71..dab2f818 100644 --- a/src/algebra/patmatch1.spad.pamphlet +++ b/src/algebra/patmatch1.spad.pamphlet @@ -589,7 +589,7 @@ PatternMatchTools(S, R, P): Exports == Implementation where -- l2 = patterns with a predicate attached to them l2 := select(hasPredicate? #1 and not constant? #1, lp) -- l3 = non-generic patterns without predicates - l3 := sort_!(depth(#1) > depth(#2), + l3 := sort!(depth(#1) > depth(#2), select(not(hasPredicate? #1 or generic? #1 or constant? #1),lp)) -- l4 = generic patterns with predicates l4 := select(generic? #1 and @@ -650,7 +650,7 @@ PatternMatchListAggregate(S, R, L): Exports == Implementation where failed() multiple?(p0 := first lp) => empty? rest lp => - if not new? then l := reverse_! l + if not new? then l := reverse! l makeResult(atoms r, addMatchRestricted(p0,l,lists r,empty())) new? => match(reverse l, reverse lp, r, false) error "Only one multiple pattern allowed in list" -- cgit v1.2.3