utils: Lazily decode UTF8 strings
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 17 Apr 2017 16:26:56 +0000 (12:26 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 18 Apr 2017 00:34:40 +0000 (20:34 -0400)
commit1cc82d38759c7a5f527ccc6cb514b8ba576cc3d1
treedae54e5e992c487cc9d2d1a2ea435ef25952c826
parent3d3975f2f4caf3af76a7ea27d2882ddaee7db3c9
utils: Lazily decode UTF8 strings

Reviewers: austin, hvr

Subscribers: rwbarton, thomie

GHC Trac Issues: #13527

Differential Revision: https://phabricator.haskell.org/D3442
compiler/utils/Encoding.hs
compiler/utils/FastString.hs
compiler/utils/StringBuffer.hs
ghc/GHCi/UI.hs