Commit 1d55e944 authored by's avatar
Browse files

Extend the GHCi FAQ slightly

parent 3a238f0f
......@@ -2908,6 +2908,13 @@ Prelude> :set -fno-glasgow-exts
because this is normally what you want in an interpreter:
output appears as it is generated.
If you want line-buffered behaviour, as in GHC, you can
start your program thus:
main = do { hSetBuffering stdout LineBuffering; ... }
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