bug#75997: (ice-9 match): warning: unused variable `failure'

2025-02-27 Thread Tomas Volf
Ludovic Courtès writes: > Tomas Volf <~@wolfsden.cz> skribis: > >> (lambda (expr) >> (let* ((v expr) >> (failure >>(lambda () >> ((@@ (ice-9 match) throw) >> 'match-error >> "match" >> "no matching pattern" >>

bug#75997: (ice-9 match): warning: unused variable `failure'

2025-02-26 Thread Ludovic Courtès
Tomas Volf <~@wolfsden.cz> skribis: > (lambda (expr) > (let* ((v expr) > (failure >(lambda () > ((@@ (ice-9 match) throw) > 'match-error > "match" > "no matching pattern" > v) > #f))) > #f)

bug#75997: (ice-9 match): warning: unused variable `failure'

2025-02-01 Thread Tomas Volf
Hi, --8<---cut here---start->8--- (use-modules (ice-9 match)) (match-lambda (_ #f)) --8<---cut here---end--->8--- This source code leads to a warning when compiled: --8<---cut here---start--