
9 Oct
2007
9 Oct
'07
10:46 a.m.
apfelmus wrote:
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") :_load :undef _load That allows me to easily define shell commands that open all kinds of specialized GHCi environments. Hope this helps, Yitz