
20 Sep
2008
20 Sep
'08
12:28 p.m.
On 2008 Sep 20, at 11:33, Gwern Branwen wrote:
I finished editing, and everything looked dandy, but everytime I compiled, or loaded into GHCi (with :set -DUTF8), it fails to compile! And it fails to compile in a way that really perplexes me:
Could not find module `Codec.Binary': Use -v to see a list of the files searched for.
Line 34 reads:
import Codec.Binary.UTF8.String (decode)
The "UTF8" in that import is being converted to "1", because cpp sees "UTF8" as the macro you -D-d. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH