[plt-scheme] trying to learn scheme and use sqlite.ss

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Jan 23 09:12:34 EST 2009

The require line should be:

 (require (planet jaymccarthy/sqlite:3))

As it says in the documentation:

http://coach.cs.uchicago.edu:8080/package-source/jaymccarthy/sqlite.plt/3/7/planet-docs/sqlite/index.html

That corresponds to how the code you're looking at requires "sqlite.ss".

Jay

On Fri, Jan 23, 2009 at 6:53 AM, Mike Eggleston <mikeegg1 at me.com> wrote:
> Morning,
>
> In DrScheme I enter in the lower window:
>
>> (require (planet "main.ss" ("schematics" "schemeunit.plt" 3 3)))
>> (define dbh (open (string->path "mikee.sql3")))
> . open: illegal use of signature form in: (open (string->path "mikee.sql3"))
>
> So the require is working (good), but the open is not working. I
> don't understand what violation I have in the syntax. To
> my so far limited understanding I'm following the code at
> <http://coach.cs.uchicago.edu:8080/package-source/jaymccarthy/sqlite.plt/3/7/sqlite-test.ss>.
>
> What am I missing here?
>
> Mike
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.