[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hard of thinking using schemeql
Quoting MJ Ray:
> Francisco Solsona <solsona@acm.org> writes:
>
> > Schemeql uses (heavily) format while rewriting queries before passing
> > them to SrPersist. As you know, standard parsing in PLT Scheme
> > down-cases every symbol, and that is the problem your are seeing.
>
> Robert Bruce Findler (did I spell that right?) offered the alternative
> solution:
>
> (find '(publication) '(name region) `((= region ,(string->symbol "REGION"))))
>
> This also works. Which will cause fewer side-effects?
The general solution proposed of setting the read-case-sensitive
parameter from inside schemeql won't work, since that parameter controls how reading is performed.
Instead, if schemeql accepted strings instead of symbols (in
appropriate places), things might work better.
Hope that helps,
Robby