Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
1d55e944
Commit
1d55e944
authored
Nov 17, 2009
by
simonpj@microsoft.com
Browse files
Extend the GHCi FAQ slightly
parent
3a238f0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/ghci.xml
View file @
1d55e944
...
...
@@ -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.
</para>
<para>
If you want line-buffered behaviour, as in GHC, you can
start your program thus:
<programlisting>
main = do { hSetBuffering stdout LineBuffering; ... }
</programlisting>
</para>
</listitem>
</varlistentry>
</variablelist>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment