[plt-scheme] Installing the Simply Scheme package?
Hello,
I'm a beginner with Scheme trying to install the Simply Scheme package
written by Danny Yoo to use with the Simply Scheme book. I'm running
into some problems and I'm hoping someone here can help me out.
(require (planet "simply-scheme.ss" ("dyoo" "simply-scheme.plt")))
Running the previous bit of code from the PLaneT docs page on
simply-scheme.ss results in the following errors on restart of DrScheme:
Error invoking tool #<path:/Users/me/Library/PLT
Scheme/planet/300/4.1.4/cache/dyoo/simply-scheme.plt/1/2>;("tool.ss")
Users/me/Library/PLT
Scheme/planet/300/4.1.4/cache/dyoo/simply-scheme.plt/1/2/tool.ss:15:51:
syntax: no pattern variables before ellipses in template at: ... in:
(begin (require (lib "unitsig.ss")) (define-syntax (define-unit-tool
stx) (syntax-case stx () ((_ name tool-export import-body rest-body ...)
(syntax/loc stx (define name (unit/sig tool-export import-body rest-body
...)))))))
=== context ===
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
/Applications/PLT Scheme v4.1.4/collects/scheme/private/sc.ss:510:11:
expander
...
I'm using DrScheme v4.1.4 on MacOSX 10.4.11.
Is there a problem with the package, or can I install the Language
definition a different way? I'd appreciate help anyone can give me.
Ambjörn Elder