[Haskell-cafe] Replacing stdin from within Haskell

Brandon Allbery allbery.b at gmail.com
Thu Jun 9 18:01:24 CEST 2011

On Thu, Jun 9, 2011 at 07:40, Neil Davies <semanticphilosopher at gmail.com> wrote:
> Anyone out there got an elegant solution to being able to fork a haskell thread and replace its 'stdin' ?

File descriptors/file handles are per process, not per thread, on
(almost?) every OS ghc supports.  You'll need to create a full

More information about the Haskell-Cafe mailing list