Closed rpeszek closed 7 years ago
Thanks for reporting this! It turns out that is not really a bytestring
problem, but a problem with readFile
in general (the one from base
).
Fixed on master
. Try it out and re-open this issue if it doesn't work.
The file is read
but doing anything with the bytestring results in error at some point. I can print the bytestream but stack traces will print afterwords. Trying something like this:
will exception immediatelly The error looks like this:
Corresponding code works fine if compiled and executed with stack.
Example code reproducing the issue: https://github.com/rpeszek/eta-misc-test/tree/eta-hackage-issue-54
I am at current head commit on eta master 1dbe87b19f815ba12ec33f558cb7b572a74e03c1