diff options
Diffstat (limited to 'src/algebra/bags.spad.pamphlet')
-rw-r--r-- | src/algebra/bags.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/bags.spad.pamphlet b/src/algebra/bags.spad.pamphlet index ed8b82a6..9474a267 100644 --- a/src/algebra/bags.spad.pamphlet +++ b/src/algebra/bags.spad.pamphlet @@ -49,7 +49,7 @@ Stack(S: Type): StackAggregate S with ref map(f, deref s)$List(S) map!(f: S -> S, s: %) == -- from HOAGG - map!(f, deref s)$List(S) + setref(s, map!(f, deref s)$List(S)) s copy s == ref copy deref s |