Proposals for changes to searching behaviour
nilsson@cs.yale.edu
nilsson@cs.yale.edu
Mon, 09 Dec 2002 11:10:21 -0500
Hi,
> I'm not sure what syntax we'd use for this. Henrik suggested
> placing the module prefix in square brackets before the directory,
> eg.
> ghc -i '-i[Graphics.Rendering.OpenGL].'
>
> In contrast to the previous suggestion, this would actually save
> some trips to the OS when GHC is looking for files.
Actually, I suggested putting it *after*. But putting it before might
be quite nice, actually. So credit where credit is due!
/Henrik
--
Henrik Nilsson
Yale University
Department of Computer Science
nilsson@cs.yale.edu