[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-users
Subject:    [plt-scheme] Seeing a keyword-based error message for spgsql 2.2 in	mzscheme 3.99
From:       ryanc () ccs ! neu ! edu (Ryan Culpepper)
Date:       2008-01-28 5:59:04
Message-ID: 479D6F28.3020209 () ccs ! neu ! edu
[Download RAW message or body]

Danny Yoo wrote:
> I'm using mzscheme 3.99.0.9-svn25jan2008, and I see the following error 
> message when trying to use spgsql 2.2 from PLaneT.  The following code:
> 
> 
> #lang scheme/base
> (require (planet "spgsql.ss" ("schematics" "spgsql.plt" 2 2)))
> (define conn (connect #:database "dyoo" #:user "dyoo"))
> 
> 
> raises a runtime exception when 'connect' is applied:
> 
> #######################################################################
> ../../../local/plt/collects/scheme/private/kw.ss:729:14: procedure 
> application: expected a procedure that accepts keyword arguments, given 
> #<procedure:connect>; arguments were: #:database "dyoo" #:user "dyoo"
> #######################################################################
> 
> 
> It looks like there might be a conflict between the keywords in 3.99 and 
> the defined procedures written in the mzscheme compatibility library.

Yes. I had thought that they were compatible. It turns out to take a 
little extra wrapping. I've just released an updated package that fixes 
the problem.

Ryan

> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic