summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-17 20:54:51 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-17 20:54:51 +0000
commit0edcea00ba3a38bf6a8382f768dc0c5e076a7650 (patch)
treea0827cf3eaeae79838c2d2b3ce805355cee94942 /libraries/base/Foreign
parent6db976d3662ab642a954dc71788b47290e1a7b44 (diff)
downloadhaskell-0edcea00ba3a38bf6a8382f768dc0c5e076a7650.tar.gz
Improve a comment
Diffstat (limited to 'libraries/base/Foreign')
-rw-r--r--libraries/base/Foreign/C/Types.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Foreign/C/Types.hs b/libraries/base/Foreign/C/Types.hs
index ccb43c2c3b..f94129ab7b 100644
--- a/libraries/base/Foreign/C/Types.hs
+++ b/libraries/base/Foreign/C/Types.hs
@@ -53,9 +53,9 @@ module Foreign.C.Types
-- extracted from CTime, because we don't want this comment in
-- the Haskell language reports:
- -- | To convert 'CTime' to 'Data.Time.UTCTime', use the following formula:
+ -- | To convert 'CTime' to 'Data.Time.UTCTime', use the following:
--
- -- > posixSecondsToUTCTime (realToFrac :: POSIXTime)
+ -- > \t -> posixSecondsToUTCTime (realToFrac t :: POSIXTime)
--
-- ** Floating types