
10 Jun
2011
10 Jun
'11
12:12 a.m.
On Thu, Jun 9, 2011 at 23:59, Richard O'Keefe
I understood the OP's question to mean "does Haskell allow rebinding of what _it_ calls standard input", which would be YES for Pop, Ada, Prolog, and Lisp, just as it is NO for C.
But none of those are Haskell, and neither GHC nor Hugs provides such an abstraction in the standard libraries. As I specifically tied my response to GHC, whose runtime I/O system does not allow such abstraction, my point stands. If the topic were Common Lisp, the answer would be different.