[plt-scheme] Help with using Ikarus R6RS SRFI libraries with PLT-4.1.4.3 on Linux and Windows

From: Jens Axel Soegaard (jensaxel at soegaard.net)
Date: Sun Mar 8 16:06:52 EDT 2009

Grant Rettke skrev:
> On Sun, Mar 8, 2009 at 2:43 PM, Grant Rettke <grettke at acm.org> wrote:
>> On Sun, Mar 8, 2009 at 2:40 PM, Jens Axel Soegaard
>> <jensaxel at soegaard.net> wrote:
>>> Could you post 1.sls ?
>> http://bazaar.launchpad.net/~rotty/ikarus-libraries/srfi/annotate/head%3A/1.sls

I did the following:

   1. No change in PLTCOLLECTS
   2. I use DrScheme from /Applications/PLT Scheme v4.1.3/
   3. I create a new folder:
        /Applications/PLT Scheme v4.1.3/collects/srfi/%3a1/
   4. I copy the files 1.sls and lists.sls into the folder.
   5. I create the subfolder lists and copy the compat-file here.

Now I try to run the program

#!r6rs

(import (rnrs base)
         (rnrs io simple)
         (srfi :1 lists))

(display (iota 5 1 2))


and then I get:

{1 3 5 7 9}

as output.


Note: I tried naming the directory ":1" but that didn't work.
       (I use OS X)


-- 
Jens Axel Søgaard


Posted on the users mailing list.