[plt-scheme] Re: newbie:howto use package=control.plt&owner=soegaard

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Jun 16 10:04:48 EDT 2008

On Mon, Jun 16, 2008 at 2:31 PM, Larry Evans <cppljevans at suddenlink.net> wrote:
> Sure.  I switched the lang=Module, entered:
>    (require (planet "control.scm" ("soegaard" "control.plt" 1 2)))
> in the definitions window, and here's the output in the interactions window
> after hitting run:
>    module-language: only module expressions are allowed in: (require
>     (planet "control.scm" ("soegaard" "control.plt" 1 2)))
>    >
> Is that better?

Yes.  You need a module declaration like

  #lang scheme

at the top of the file.  But see my first point -- this package is redundant.


Posted on the users mailing list.