[plt-scheme] question from a newbie regarding the import of a library

From: Jon Loldrup (loldrup at gmail.com)
Date: Sat Apr 4 12:11:38 EDT 2009

Hi

I'm trying to import
the<http://planet.plt-scheme.org/display.ss?package=miniKanren.plt&owner=dfriedman>minikanren
library to my PLT-Scheme 4.1.5. Does a relatively simple method
exist for getting to know how to import libraries into DrScheme? Will I have
to read all this http://docs.plt-scheme.org/reference/require.html  to be
able to do it? The file I'm trying to load is the minikanren.ss - I created
the file by copying the source code from the link into a new text-file,
naming it minikanren.ss<http://planet.plt-scheme.org/display.ss?package=miniKanren.plt&owner=dfriedman>and
placing it on my harddrive.

I just need a document describing where to put the minikanren.ss file and
how to write the path to this file in the include-sentence.
The minikanren site<http://planet.plt-scheme.org/display.ss?package=miniKanren.plt&owner=dfriedman>says
this:

"To load: *(require (planet dfriedman/miniKanren:1:1/minikanren))"
*
Which doesn't tell me how to load it as it seems it has to be modified
before it will work. I've tried it as-is with no luck, while placing the
minikanren.ss in C:\Program Files\PLT\collects\minikanren. I also tried
theese require sentences:
*(require (planet ~/minikanren/minikanren.ss:1:1/minikanren))
(require (planet C:\Program
Files\PLT\collects\minikanren.ss:1:1/minikanren))
*and some others, with no luck either.


I also tried simply opening the minikanren.ss file in DrScheme, choosing the
language "Pretty Big". It runs fine, but then I can't run simple test cases
like:

(run #f (q) fail)

which results in: ". . reference to undefined identifier: run"


What does a Schemer do?

kind regards Jon Loldrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090404/f308b07f/attachment.html>

Posted on the users mailing list.