Dear All,
distinct? from amb-extras fails with an "bad argument count" error
when srfi-1 is not loaded. In that case the member procedure from
'scheme' and not srfi-1 is used, which doesn't take a additional
equality procedure as used by distinct?.
Adding srfi-1 to the imports as in the attached patch fixed the issue
for me.
Best regards
Markus
diff --git a/amb-extras.scm b/amb-extras.scm
index 46ac305..1769de3 100644
--- a/amb-extras.scm
+++ b/amb-extras.scm
@@ -14,12 +14,13 @@
(import scheme
chicken
+ (only srfi-1 member)
(only data-structures shuffle)
(only extras random)
amb
(only type-checks check-list check-procedure))
- (require-library data-structures extras amb type-checks)
+ (require-library data-structures extras amb type-checks srfi-1)
;;
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users