I do not see

modulo(hs : %, i : I) : I == (HASHSTATEMOD(hs, i)$Lisp) pretend I

https://github.com/fricas/fricas/blob/master/src/algebra/hashstate.spad#L74

ever used. Should we remove it? Patch attached.

Ralf

--
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 view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/3bda90bd-f509-45a5-aa9c-e51e0f3e7c9f%40hemmecke.org.
From cd25729fe49b18edc5888819321cd541ff3de7c6 Mon Sep 17 00:00:00 2001
From: Ralf Hemmecke <[email protected]>
Date: Tue, 1 Jul 2025 10:18:30 +0200
Subject: remove unused "modulo" from HashState

---
 src/algebra/hashstate.spad | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/algebra/hashstate.spad b/src/algebra/hashstate.spad
index bd04fdf8..b477438f 100644
--- a/src/algebra/hashstate.spad
+++ b/src/algebra/hashstate.spad
@@ -71,7 +71,6 @@ HashState() : with
     new() : % == per HASHSTATEBASIS$Lisp
     value(hs : %) : I == (HASHSTATEMAKEFIXNUM(hs)$Lisp) pretend I
     update!(hs : %, i : I) : % == per HASHSTATEUPDATE(hs, i)$Lisp
-    modulo(hs : %, i : I) : I == (HASHSTATEMOD(hs, i)$Lisp) pretend I
 
 )if false
 
-- 
2.43.0

  • [fricas-devel] unused... 'Ralf Hemmecke' via FriCAS - computer algebra system

Reply via email to