bug#48318: (ice-9 match) does not allow distinguishing between () and #nil

2021-05-09 Thread Maxime Devos
Hi guilers, I've found the following surprising behaviour: (use-modules (ice-9 match)) (match (identity #nil) (() 'scheme-eol) (#nil 'elisp-eol)) --> scheme-eol, expected elisp-eol (match '() (#nil 'elisp-eol) (() 'elisp-eol)) --> elisp-eol, expected scheme-eol Treating () and #nil as equivalen

bug#48315: (ice-9 match) does not suport #nil

2021-05-09 Thread Maxime Devos
guile --version: guile (GNU Guile) 3.0.5 (use-modules (ice-9 match)) (match #nil (_ 'xyzzy)) --> While compiling expression: Syntax error: unknown location: unexpected syntax in form () (match '() (_ 'xyzzy)) --> $16 = xyzzy Greetings, Maxime. signature.asc Description: This is a digitally si