[commit: base] master: Improve a comment (b006358)
Ian Lynagh
igloo at earth.li
Sun Nov 18 00:15:17 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/b006358aa91c8b1f16e5c3a8d981b0bd1bfa3f49
>---------------------------------------------------------------
commit b006358aa91c8b1f16e5c3a8d981b0bd1bfa3f49
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Nov 17 20:54:51 2012 +0000
Improve a comment
>---------------------------------------------------------------
Foreign/C/Types.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Foreign/C/Types.hs b/Foreign/C/Types.hs
index ccb43c2..f94129a 100644
--- a/Foreign/C/Types.hs
+++ b/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
More information about the Cvs-libraries
mailing list