projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-01-05 21:30:05 by krasimir]
[ghc-base.git]
/
GHC
/
Storable.lhs
diff --git
a/GHC/Storable.lhs
b/GHC/Storable.lhs
index
f997671
..
5fe1894
100644
(file)
--- a/
GHC/Storable.lhs
+++ b/
GHC/Storable.lhs
@@
-10,7
+10,7
@@
-- Stability : internal
-- Portability : non-portable (GHC Extensions)
--
-- Stability : internal
-- Portability : non-portable (GHC Extensions)
--
--- The 'Storable' class.
+-- Helper functions for "Foreign.Storable"
--
-----------------------------------------------------------------------------
--
-----------------------------------------------------------------------------
@@
-48,29
+48,17
@@
module GHC.Storable
, writeWord32OffPtr
, writeWord64OffPtr
) where
, writeWord32OffPtr
, writeWord64OffPtr
) where
-\end{code}
-
-\begin{code}
-import Control.Monad ( liftM )
-import Foreign.C.Types
-import Foreign.C.TypesISO
-#ifdef __GLASGOW_HASKELL__
import GHC.Stable ( StablePtr )
import GHC.Stable ( StablePtr )
-import GHC.Num
import GHC.Int
import GHC.Word
import GHC.Stable
import GHC.Ptr
import GHC.Float
import GHC.Int
import GHC.Word
import GHC.Stable
import GHC.Ptr
import GHC.Float
-import GHC.Err
import GHC.IOBase
import GHC.Base
import GHC.IOBase
import GHC.Base
-#endif
\end{code}
\end{code}
-Helper functions for Foreign.Storable
-
\begin{code}
readWideCharOffPtr :: Ptr Char -> Int -> IO Char
\begin{code}
readWideCharOffPtr :: Ptr Char -> Int -> IO Char