[plt-scheme] `match' weirdness

From: Sam TH (samth at ccs.neu.edu)
Date: Thu Aug 14 22:27:51 EDT 2008

Yes, this is a bug.  Please file a bug report about this.

Thanks for finding this.

sam th

On Thu, Aug 14, 2008 at 7:43 PM, Casey Klein <clklein at cs.uchicago.edu> wrote:
> The expression
>
>   (match 1
>     [2 3]
>     [_ (values 4 5)])
>
> reduces to (values 4 5) but
>
>   (match 1
>     [(or 2) 3]
>     [_ (values 4 5)])
>
> produces "context expected 1 value, received 2 values: 4 5." Is this a
> bug in `match'?
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.