https://github.com/oldk1331/fricas/commit/66ef818c3c4cbbdf8754f9c84a21d1b5ae34750b.patch
fix Stack's construct
diff --git a/src/algebra/bags.spad b/src/algebra/bags.spad
index 7fa4f8b..4b82018 100644
--- a/src/algebra/bags.spad
+++ b/src/algebra/bags.spad
@@ -41,7 +41,7 @@
insert!(e : S, s : %) : % == (push!(e, s);s)
empty() == ref nil()$List(S)
empty? s == null deref s
- construct s == ref copy s
+ construct s == ref s
stack s == construct s
hashUpdate!(st, s) == hashUpdate!(st, deref s)
https://github.com/oldk1331/fricas/commit/38eb192550f2dc2a398eb5320b5a4b5f9194c58f.patch
add testsuite for bags.spad. This testsuite passes
before and after next patch:
https://github.com/oldk1331/fricas/commit/ec0459a890a82d5afe6bcbb7f108ad617322d11f.patch
more efficient Rep for Queue and Dequeue.
BTW, what do you think of the argument I made for map
in previous mail?
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.