[gambit-list] (case)

Bradley Lucier lucier at math.purdue.edu
Fri Oct 31 09:57:29 EDT 2008


On Oct 31, 2008, at 9:48 AM, Christoph Bauer wrote:

>
> thanks for all the responses in the string->number thread. I have
> another question: what is the correct result of
>
> (case ".ab" ((".ab") 1) (else 2))
>
> Indeed gsi gives another answer as scheme48. (maybe eq? vs equal?)

case use eqv?; two string with the same contents may not be eqv?.

Brad




More information about the Gambit-list mailing list