Commit 67b34437 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add blurb in the user guide re stdout buffering differing between GHC and GHCi

parent b4a94ccf
......@@ -2587,6 +2587,18 @@ Prelude> :set -fno-glasgow-exts
<para>See <xref linkend="ghci-windows"/>.</para>
<term>The default buffering mode is different in GHCi to GHC.</term>
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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment