From: Ian Lynagh Date: Tue, 7 Aug 2007 19:31:39 +0000 (+0000) Subject: Add blurb in the user guide re stdout buffering differing between GHC and GHCi X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=67b3443720b8dd58472cb92bc167adc97b935da4 Add blurb in the user guide re stdout buffering differing between GHC and GHCi --- diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index c0167bf..86bfa8f 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -2587,6 +2587,18 @@ Prelude> :set -fno-glasgow-exts See . + + + The default buffering mode is different in GHCi to GHC. + + + In GHC, the stdout handle is line-buffered by default. + However, in GHCi we turn off the buffering on stdout, + because this is normally what you want in an interpreter: + output appears as it is generated. + + +