[plt-scheme] Case-sensitive R5RS

From: Felix Klock's PLT scheme proxy (pltscheme at pnkfx.org)
Date: Tue Nov 11 09:53:06 EST 2008

Alan (cc'ing plt-scheme)-

On Nov 11, 2008, at 9:38 AM, Alan Watson wrote:

> I want to use R5RS with rebinding and a case-sensitive reader. I'm  
> using "plt-r5rs --no-prim" with the following:
>
> (#%require (only-in scheme read-case-sensitive))
> (read-case-sensitive #t)
>
> However, the compiler complains "only-in: bad module path in: (only- 
> in scheme read-case-sensitive)". This is with 4.1.
>
> I'd be very grateful if someone would point out what I'm doing wrong.

The #%require syntax is different from the require syntax; there is  
documentation for it here:

http://docs.plt-scheme.org/reference/ 
require.html#(form._((quote._~23~25kernel)._~23~25require))

It looks like when PLT moved from using the identifier 'only' to the  
identifier 'only-in', they left it as 'only' within #%require.

This should probably work better for you:

   (#%require (only scheme read-case-sensitive))

-Felix




Posted on the users mailing list.