Hello,
I encountered some errors with pattern matching:
-
For quasi-quote, the "ooo" pattern including "..." does not work. I looked at source code match-upstream.scm and perhaps it has not been implemented for quasi-quote cases??
(use-modules (ice-9 match))
(match '(1 2 3)
(`(,a ,b ...) b)
)
-
There are some conflicts within ice-9 modules themselves. For example occam-channel.scm causes predicate match to fail:
(use-modules (ice-9 match))
(match 9 ((? odd? a) a)) => 9
(use-modules (ice-9 match) (ice-9 occam-channel))
(match 9 ((? odd? a) a)) => conflict with occam-channel library
Please primarily focus on question 1.
Thanks!