Many Scheme implementations offer a way to specify a list of locations
to search for libraries. I think the rule for resolving a library to its source should be configurable on a per location basis. So for example you might tell the system that you have libraries in some directories:


How about the simplest approach (which psyntax did have (sort of) at some stage, but not anymore)?

IIRC it was something like (with my ideas added):

(library-resolver pred? resolver)

where

pred? is a proc taking the library name as the only argument and returns whether to use this 'resolver', and, resolver is a proc taking the library name as the only argument and returns either a library form and body (possibly annotated).

Do we need anything more than this?

(perhaps the arguments can be combined in a record, and library-resolver becomes a parameter )

Cheers

leppie

PS: does one get 'parameters' that takes multiple arguments? OR multiple value parameters?


Reply via email to