Trent Buck <trentbuck_at_gmail.com> writes:
> Is it possible to (R5.91RS portably) abstract over repetition in
> library definitions?
> [...]
> (library* (Text ParserCombinators Parsec)
> (1 0 3)
> (Pos Error Prim Combinator Char)
> (export ...)))
>
> would be nice.
We did discuss this among the editors:
http://www.r6rs.org/r6rs-editors/2006-August/001710.html
Generally, the problem with this is that you can get non-local
interactions. Specifically, imports of your program (and thus the
semantics of your program) might change when a library is added to the
system, which is generally a bad property to have.
--
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Mon Nov 20 2006 - 04:33:08 UTC