[plt-scheme] problem with match.ss and contracts
This looks like a bug. If you can send me code that signals the error,
that would be great.
Thanks,
Robby
At Wed, 12 May 2004 14:30:15 -0400, Sam Tobin-Hochstadt wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> I'm using match.ss and contracts, and getting the following very strange 
> error:
> 
> procedure application: expected procedure, given: 
> #<struct:flat-contract>; arguments were: ()
> 
> On a bit of code that looks like this:
> 
> (match-lambda*
>        [(...... (? string? key) ......) ....]
> 
> The ...... are not match ..., but just irrelevant code.
> 
> Can I not use regular predicates in match with contracts?
> 
> This bit of code is not in a define/contract, btw.
> 
> sam th