From a304af4524cd40079a05b84abf16af2fd063265c Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 4 Feb 2005 13:32:28 +0000 Subject: [PATCH] [project @ 2005-02-04 13:32:28 by simonmar] In the fragments of Haskell code which setup buffering and flushing for the std Handles in GHCi, qualify names with System.IO rather than IO. --- ghc/compiler/ghci/InteractiveUI.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index a7c3591..89fdfeb 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,6 +1,6 @@ {-# OPTIONS -#include "Linker.h" #-} ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.186 2005/01/28 17:44:56 simonpj Exp $ +-- $Id: InteractiveUI.hs,v 1.187 2005/02/04 13:32:28 simonmar Exp $ -- -- GHC Interactive User Interface -- @@ -445,9 +445,9 @@ noArgs c = throwDyn (CmdLineError ("command '" ++ c ++ "' takes no arguments")) GLOBAL_VAR(flush_interp, error "no flush_interp", IO ()) GLOBAL_VAR(turn_off_buffering, error "no flush_stdout", IO ()) -no_buf_cmd = "IO.hSetBuffering IO.stdout IO.NoBuffering" ++ - " Prelude.>> IO.hSetBuffering IO.stderr IO.NoBuffering" -flush_cmd = "IO.hFlush IO.stdout Prelude.>> IO.hFlush IO.stderr" +no_buf_cmd = "System.IO.hSetBuffering System.IO.stdout System.IO.NoBuffering" ++ + " Prelude.>> System.IO.hSetBuffering System.IO.stderr System.IO.NoBuffering" +flush_cmd = "System.IO.hFlush System.IO.stdout Prelude.>> System.IO.hFlush IO.stderr" initInterpBuffering :: CmState -> IO () initInterpBuffering cmstate -- 1.7.10.4