[gambit-list] Blackhole and match
Marco Benelli
mbenelli at yahoo.com
Wed Apr 21 08:55:43 EDT 2010
It seems to me that blackhole's match doesn't work:
$ bsc
Loaded Black Hole.
Gambit v4.6.0
> (import (std misc/match))
> (match 2 (2 #t) (_ #f))
*** ERROR -- Unbound variable: module#extract-syntactic-closure-list
I've also tried Alex Shinn's match:
> (import lib/match) ; Alex Shinn's match
> (match 2 (2 #t) (_ #f))
#t
> (match 'foo ('foo #t) (_ #f))
*** ERROR -- Unbound pattern variable quote
Maybe a bug with syntax-rules literals?
I'm using the last master branch from github.
--marco
More information about the Gambit-list
mailing list