From: Albert G. <Dr....@t-...> - 2008-08-16 23:51:47
|
Albert Graef wrote: > Eddie Rucker wrote: >> What if we want to override the primitives.pure for some strange reason >> that I cannot think of yet? > > Well, it's a kludge, but of course you could just ship a custom prelude > with your application and write a wrapper script that sets up PURELIB > accordingly. I think that this is actually preferable, since it makes it > clear that your program operates in a nonstandard environment. I should have read the manpage first. ;-) Of course the simplest way to override the prelude and its dependent modules still is to just place prelude.pure et al into the current directory. This works because the prelude is searched first in the cwd, and with the new script search algorithm other modules used by the prelude then pick up the path from prelude.pure. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |