Re: [Spam] Square bracket reader sytax & SBCL Win32 & Slime: How to make them work together?

Nathan Bird <[email protected]>
Newsgroups gmane.lisp.clsql.general
Message-ID <[email protected]>
Jason H wrote:
> Hi,
>
> I'm learning CLSQL (4.3.0) with SBCL 1.0.33.4 Win32 and 
> Slime (around 2009-12-03). I have troubles using square
> brackets in Slime. Entering the following into Slime's 
> repl buffer:
>   (clsql-sys:enable-sql-reader-syntax)
>   (select [description] :from [asnFeatureType])
> will drop me into the debugger: 
>   The variable [DESCRIPTION] is unbound.
>   [Condition of type UNBOUND-VARIABLE]
To rule out an error I've spotted a number of times, in the repl, try
disabling the syntax a bunch of times (no seriously, 3 or 4 times), then
enabling and see if it works.

CLSQL tries to keep a chain of readtables, so you want to clear past
that and then try enabling.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.