Hi,<div>I am looking for a way to extend GHCI such that I can do something like this</div><div><br></div><div><div>$ ghci</div><div>GHCi, version 6.12.3: <a href="http://www.haskell.org/ghc/">http://www.haskell.org/ghc/</a>  :? for help</div>
<div>Loading package ghc-prim ... linking ... done.</div><div>Loading package integer-gmp ... linking ... done.</div><div>Loading package base ... linking ... done.</div><div>Loading package ffi-1.0 ... linking ... done.</div>
<div>Prelude&gt; startMyFunction</div></div><div>Prelude&gt; </div><div><br></div><div>startMyFunction will do a forkIO and listen on a network port for interaction with a remote process and will drop back to GHCI prompt where I can invoke haskell functions that&#39;ll control the way the interaction with the remote process occurs. Can this be done?</div>
<div><br></div><div>Regards,</div><div>Kashyap</div><div><br></div>