projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809e779
)
[project @ 2003-01-29 14:28:47 by ross]
author
ross
<unknown>
Wed, 29 Jan 2003 14:28:47 +0000
(14:28 +0000)
committer
ross
<unknown>
Wed, 29 Jan 2003 14:28:47 +0000
(14:28 +0000)
fix typo that broke non-GHC impls.
Foreign/Marshal/Array.hs
patch
|
blob
|
history
diff --git
a/Foreign/Marshal/Array.hs
b/Foreign/Marshal/Array.hs
index
d8cce25
..
0cd959d
100644
(file)
--- a/
Foreign/Marshal/Array.hs
+++ b/
Foreign/Marshal/Array.hs
@@
-148,7
+148,7
@@
peekArray0 marker ptr = loop 0
--
pokeArray :: Storable a => Ptr a -> [a] -> IO ()
#ifndef __GLASGOW_HASKELL__
-pokeArray ptrs vals = zipWithM_ (pokeElemOff ptr) [0..] vals
+pokeArray ptr vals = zipWithM_ (pokeElemOff ptr) [0..] vals
#else
pokeArray ptr vals = go vals 0#
where go [] n# = return ()