[Haskell-cafe] EnableGUI hack changes working directory
gale at sefer.org
Tue Oct 9 06:46:58 EDT 2007
> Is there a way to automate ghci ... EnableGUI -framework Carbon and
> typing enableGUI at the first prompt?
I have the following in my .ghci file:
-- Read GHCI commands from the file whose name is
-- in the GHCIRC environment variable
:def _load const(System.Environment.getEnvironment>>=maybe(return"")readFile.lookup"GHCIRC")
That allows me to easily define shell commands that
open all kinds of specialized GHCi environments.
Hope this helps,
More information about the Haskell-Cafe