diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-11-25 10:25:20 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-11-25 10:25:20 +0000 |
commit | 62c11c91879a26187f79575391842f44e770f2d5 (patch) | |
tree | 2554fc0e29d0d9b0e5b5a1dfdd95cbbd105de90a /libraries/base/System/Console | |
parent | 443a9f1bca9897dca89ed33fb6b8cb3a2414136b (diff) | |
download | haskell-62c11c91879a26187f79575391842f44e770f2d5.tar.gz |
Encode immediately in hPutStr and hPutChar
This means that decoding errors will be detected accurately, and can
be caught and handled. Overall the implementation is simpler this way
too.
It does impose a performance hit on small hPutStrs, although larger
hPutStrs seem to be unaffected. To compensate somewhat, I optimised
hPutStrLn.
Diffstat (limited to 'libraries/base/System/Console')
0 files changed, 0 insertions, 0 deletions