[Haskell-cafe] Re: ByteString.pack behavior

2008-05-19 Thread Achim Schneider
Dusan Kolar [EMAIL PROTECTED] wrote: Thanks. I've realized that as soon as I was in my bed. ;-) Nevertheless, a question comes to me - shouldn't compiler report a warning? I know it cannot in the current state, but it should. :-) Quite dummy C compilers tell me I'm loosing significant

Re: [Haskell-cafe] Re: ByteString.pack behavior

2008-05-19 Thread Ketil Malde
Achim Schneider [EMAIL PROTECTED] writes: Nevertheless, a question comes to me - shouldn't compiler report a warning? While doing that is easy in this case, it becomes quite delicate in the general case. More precisely, it grows into the halting problem. I think it would be nice with a