"Jose A. Ortega Ruiz" <[email protected]> writes: > in PLT, one can get hold of the value associated with an identifier > exported by a module without statically requiring it, using a procedure > called `dynamic-require'. for instance, if i have > > (module geiser scheme (export foo) ---) > > calling > > (dynamic-require ''geiser 'foo) > > from anywhere returns the value of `foo, so, if it's a procedure, one > can call it without requiring the `geiser' module: > > ((dynamic-require ''geiser 'foo) arg) > > guile has an equivalent form, dubbed @... is there a similar mechanism > in ikarus? > You can use eval to do that:
((eval 'create-directory* (environment '(spells filesys))) "/tmp/foo/bar") This is even portable across R6RS implementations, IIUC. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>
