|
Re: PackedString.hGetPS produces index exception: msg#00038lang.haskell.glasgow.bugs
Thanks, due to a bug in Data.Array.IO.hGetArray. Notice that the current implementation of hGetPS doesn't live up to its billing -- | Read a 'PackedString' directly from the specified 'Handle'. This -- is far more efficient than reading the characters into a 'String' -- and then using 'packString'. -- as the implementation does indeed go via a String. --sigbjorn ----- Original Message ----- From: "George Russell" <ger@xxxxxx> To: <glasgow-haskell-bugs@xxxxxxxxxxx> Sent: Tuesday, April 15, 2003 11:29 Subject: PackedString.hGetPS produces index exception > Why does the attached function psTest, for ghc5.04.3 on Linux, produce the > error: > *** Exception: Ix{Int}.index: Index (30000) out of range ((0,29999)) > ...
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Fail to compile 5.04.3 on Solaris, Josef Svenningsson |
|---|---|
| Next by Date: | RE: Fail to compile 5.04.3 on Solaris, Simon Marlow |
| Previous by Thread: | PackedString.hGetPS produces index exception, George Russell |
| Next by Thread: | RE: PackedString.hGetPS produces index exception, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |