[plt-scheme] Accessing SRFIs from R6RS

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Mon Feb 9 01:30:04 EST 2009

LordGeoffrey wrote:
> David,
> I tried this>>
> #!r6rs
> (import (srfi :27))
> 
> And got this>>
> . import: cannot find suitable installed library in: (srfi :27)
> 
> I am using version 4.1.4

Support for SRFI 97 must have been added since 4.1.4.  This works for me:

#lang r6rs
(import (rnrs)
         (srfi :27))
(display (random-integer 10))

But I'm using 4.1.4.2-svn25jan2009.

David


Posted on the users mailing list.