[project @ 2001-08-15 09:18:06 by simonmar]
authorsimonmar <unknown>
Wed, 15 Aug 2001 09:18:06 +0000 (09:18 +0000)
committersimonmar <unknown>
Wed, 15 Aug 2001 09:18:06 +0000 (09:18 +0000)
commit9df1a1f887257833fa696bcc96a897d137e10763
tree065b524b681f2165b3a9168477a13de20fd75550
parentcaebce652be96f81bc93ba2debba2726317caf7a
[project @ 2001-08-15 09:18:06 by simonmar]
Use the trick from unpackCStringLenIO to make peekArray run in
constant stack space: read the array from back to front using an
accumulating parameter.  Sadly this doesn't work for peekArray0.
ghc/lib/std/PrelMarshalArray.lhs