Closed gelisam closed 11 years ago
Hawk crashes if ~/.hawk/prelude.hs is empty or contains only newlines:
~/.hawk/prelude.hs
> touch ~/.hawk/prelude.hs > cat ~/.hawk/prelude.hs > hawk -e [1..3] hawk: Data.ByteString.head: empty ByteString > printf "\n\n\n" > ~/.hawk/prelude.hs > cat ~/.hawk/prelude.hs > hawk -e [1..3] hawk: Data.ByteString.head: empty ByteString
Using head on an empty string, that's a noob error :(. It should work now. Note that I merged the branch config_with_prelude in merge, so you can pull directly that branch.
head
Hawk crashes if
~/.hawk/prelude.hs
is empty or contains only newlines: