[plt-scheme] Linking units with multiple dependencies
Anthony Cowley schrieb:
> Here's an example with no use of inference.
> [...]
> (define-compound-unit a+b+c@
> (import)
> (export C)
> (link (((A : a^)) a@)
> (((B : b^)) b@)
> (((C : c^ )) c@ A B)))
> [...]
Hello,
apparently I'm really quite dumb not to try out that syntax, but at
least I have an excuse since the documentation of the linkage-decl part
of a compound-unit form states that the third element in those lists is
a plain tagged-link-id and no ellipses are specified, which makes the
... A B part in the above statement formally illegal ;-)
I guess the documentation should be fixed.
Ciao,
Thomas
--
When C++ is your hammer, every problem looks like your thumb.