From: sof Date: Tue, 19 Jan 1999 09:51:25 +0000 (+0000) Subject: [project @ 1999-01-19 09:51:21 by sof] X-Git-Tag: Approx_2487_patches~58 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=99419fa253a459bcc55fc5d3a99144a68a3cc754;p=ghc-hetmet.git [project @ 1999-01-19 09:51:21 by sof] Misc doc-fixes and updates. --- diff --git a/ghc/docs/libraries/Addr.sgml b/ghc/docs/libraries/Addr.sgml index 8681ee0..39c62da 100644 --- a/ghc/docs/libraries/Addr.sgml +++ b/ghc/docs/libraries/Addr.sgml @@ -9,13 +9,14 @@ use in creating foreign function interfaces using GreenCard. module Addr where data Addr -- Address type instance Eq Addr +instance Ord Addr nullAddr :: Addr plusAddr :: Addr -> Int -> Addr -- read value out of _immutable_ memory indexCharOffAddr :: Addr -> Int -> Char -indexIntOffAddr :: Addr -> Int -> Int -- should we drop this? +indexIntOffAddr :: Addr -> Int -> Int indexAddrOffAddr :: Addr -> Int -> Addr indexFloatOffAddr :: Addr -> Int -> Float indexDoubleOffAddr :: Addr -> Int -> Double @@ -30,7 +31,7 @@ indexInt64OffAddr :: Addr -> Int -> Int64 -- read value out of mutable memory readCharOffAddr :: Addr -> Int -> IO Char -readIntOffAddr :: Addr -> Int -> IO Int -- should we drop this? +readIntOffAddr :: Addr -> Int -> IO Int readAddrOffAddr :: Addr -> Int -> IO Addr readFloatOffAddr :: Addr -> Int -> IO Float readDoubleOffAddr :: Addr -> Int -> IO Double @@ -45,7 +46,7 @@ readInt64OffAddr :: Addr -> Int -> IO Int64 -- write value into mutable memory writeCharOffAddr :: Addr -> Int -> Char -> IO () -writeIntOffAddr :: Addr -> Int -> Int -> IO () -- should we drop this? +writeIntOffAddr :: Addr -> Int -> Int -> IO () writeAddrOffAddr :: Addr -> Int -> Addr -> IO () writeForeignObjOffAddr :: Addr -> Int -> ForeignObj -> IO () writeFloatOffAddr :: Addr -> Int -> Float -> IO () diff --git a/ghc/docs/libraries/Concurrent.sgml b/ghc/docs/libraries/Concurrent.sgml index 1ea6948..4af5615 100644 --- a/ghc/docs/libraries/Concurrent.sgml +++ b/ghc/docs/libraries/Concurrent.sgml @@ -108,7 +108,7 @@ will a thread block when performing a diff --git a/ghc/docs/libraries/Dynamic.sgml b/ghc/docs/libraries/Dynamic.sgml index a137b2d..eccaddb 100644 --- a/ghc/docs/libraries/Dynamic.sgml +++ b/ghc/docs/libraries/Dynamic.sgml @@ -8,13 +8,14 @@ information with it at run-time, and is represented here by the abstract type -The The Typeable class Typeable class