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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to