[plt-scheme] `match' weirdness

From: Casey Klein (clklein at cs.uchicago.edu)
Date: Thu Aug 14 19:43:17 EDT 2008

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'?


Posted on the users mailing list.