[plt-scheme] SLIB in modules?

From: Erich Rast (Erich.Rast at t-online.de)
Date: Wed Feb 26 09:00:42 EST 2003


I'm trying to wrap SLIB arrays into an object, because I want to be 
able to change the underlying implementation  later whenever necessary.

However, it doesn't  work:

(module array mzscheme

    (lib "class.ss")
    (lib "mred.ss" "mred")
    (lib "load.ss" "slibinit")

     (provide array%)

   (slib:require 'array)

yields error  expand: unbound variable in module in: slib:require.

Is there a way to use SLIB in MzScheme modules? And related to that, is 
there an easy way to get the parts of SLIB compiled into an embedded 
executable later, even though SLIB uses it's own module mechanism?

Best regards,


Posted on the users mailing list.