[commit: packages/time] format-widths, ghc, improve-leapseconds, master, posix-perf, tasty, wip/travis: hide submodules in Haddock docs (e128961)

git at git.haskell.org git at git.haskell.org
Fri Apr 21 16:44:53 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,ghc,improve-leapseconds,master,posix-perf,tasty,wip/travis
Link       : http://git.haskell.org/packages/time.git/commitdiff/e1289618cca447ca7348da0d032b1dd0dc2f5a84

>---------------------------------------------------------------

commit e1289618cca447ca7348da0d032b1dd0dc2f5a84
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Wed May 18 01:14:23 2005 -0700

    hide submodules in Haddock docs
    
    darcs-hash:20050518081423-ac6dd-76ee3e4f8b6b1ee8e55235367594fb52d321a4ee


>---------------------------------------------------------------

e1289618cca447ca7348da0d032b1dd0dc2f5a84
 System/Time/Calendar.hs           | 1 +
 System/Time/Calendar/Calendar.hs  | 2 ++
 System/Time/Calendar/Format.hs    | 8 +++++++-
 System/Time/Calendar/Gregorian.hs | 2 ++
 System/Time/Calendar/ISOWeek.hs   | 7 ++++++-
 System/Time/Calendar/Private.hs   | 1 +
 System/Time/Calendar/TimeOfDay.hs | 2 ++
 System/Time/Calendar/Timezone.hs  | 3 ++-
 System/Time/Calendar/YearDay.hs   | 7 ++++++-
 9 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/System/Time/Calendar.hs b/System/Time/Calendar.hs
index 4b848e5..7035149 100644
--- a/System/Time/Calendar.hs
+++ b/System/Time/Calendar.hs
@@ -9,6 +9,7 @@ module System.Time.Calendar
 	module System.Time.Calendar.Gregorian,
 	module System.Time.Calendar.ISOWeek,
 	module System.Time.Calendar.Format,
+	-- * CalendarTime
 	module System.Time.Calendar
 ) where
 
diff --git a/System/Time/Calendar/Calendar.hs b/System/Time/Calendar/Calendar.hs
index f15890d..cc4e0c3 100644
--- a/System/Time/Calendar/Calendar.hs
+++ b/System/Time/Calendar/Calendar.hs
@@ -1,7 +1,9 @@
 {-# OPTIONS -Wall -Werror #-}
 
+-- #hide
 module System.Time.Calendar.Calendar
 (
+	-- * Classes
 	-- "Calendrical" format
 	DayAndTime(..),DayEncoding(..),
 
diff --git a/System/Time/Calendar/Format.hs b/System/Time/Calendar/Format.hs
index db63090..e81312a 100644
--- a/System/Time/Calendar/Format.hs
+++ b/System/Time/Calendar/Format.hs
@@ -1,6 +1,12 @@
 {-# OPTIONS -Wall -Werror #-}
 
-module System.Time.Calendar.Format where
+
+-- #hide
+module System.Time.Calendar.Format
+	(
+	-- * UNIX-style formatting
+	module System.Time.Calendar.Format
+	) where
 
 import System.Time.Calendar.ISOWeek
 import System.Time.Calendar.Gregorian
diff --git a/System/Time/Calendar/Gregorian.hs b/System/Time/Calendar/Gregorian.hs
index 3e986bd..d4cced7 100644
--- a/System/Time/Calendar/Gregorian.hs
+++ b/System/Time/Calendar/Gregorian.hs
@@ -1,7 +1,9 @@
 {-# OPTIONS -Wall -Werror #-}
 
+-- #hide
 module System.Time.Calendar.Gregorian
 (
+	-- * Gregorian calendar
 	GregorianDay(..)
 
 	-- calendrical arithmetic
diff --git a/System/Time/Calendar/ISOWeek.hs b/System/Time/Calendar/ISOWeek.hs
index 2390f01..eb03a39 100644
--- a/System/Time/Calendar/ISOWeek.hs
+++ b/System/Time/Calendar/ISOWeek.hs
@@ -1,6 +1,11 @@
 {-# OPTIONS -Wall -Werror #-}
 
-module System.Time.Calendar.ISOWeek where
+-- #hide
+module System.Time.Calendar.ISOWeek
+	(
+	-- * ISO Week calendar
+	module System.Time.Calendar.ISOWeek
+	) where
 
 import System.Time.Calendar.YearDay
 import System.Time.Calendar.Calendar
diff --git a/System/Time/Calendar/Private.hs b/System/Time/Calendar/Private.hs
index db63216..17d2322 100644
--- a/System/Time/Calendar/Private.hs
+++ b/System/Time/Calendar/Private.hs
@@ -1,5 +1,6 @@
 {-# OPTIONS -Wall -Werror #-}
 
+-- #hide
 module System.Time.Calendar.Private where
 
 import Data.Fixed
diff --git a/System/Time/Calendar/TimeOfDay.hs b/System/Time/Calendar/TimeOfDay.hs
index bf04e78..9bd8213 100644
--- a/System/Time/Calendar/TimeOfDay.hs
+++ b/System/Time/Calendar/TimeOfDay.hs
@@ -1,7 +1,9 @@
 {-# OPTIONS -Wall -Werror #-}
 
+-- #hide
 module System.Time.Calendar.TimeOfDay
 (
+	-- * Time of day
 	TimeOfDay(..),midnight,midday,
 	utcToLocalTimeOfDay,localToUTCTimeOfDay,
 	timeToTimeOfDay,timeOfDayToTime,
diff --git a/System/Time/Calendar/Timezone.hs b/System/Time/Calendar/Timezone.hs
index dc836ca..fc2423d 100644
--- a/System/Time/Calendar/Timezone.hs
+++ b/System/Time/Calendar/Timezone.hs
@@ -1,8 +1,9 @@
 {-# OPTIONS -ffi -Wall -Werror #-}
 
+-- #hide
 module System.Time.Calendar.Timezone
 (
-	-- time zones
+	-- * Time zones
 	Timezone(..),timezoneOffsetString,minutesToTimezone,hoursToTimezone,utc,
 
 	-- getting the locale time zone
diff --git a/System/Time/Calendar/YearDay.hs b/System/Time/Calendar/YearDay.hs
index 2c120eb..49e3c58 100644
--- a/System/Time/Calendar/YearDay.hs
+++ b/System/Time/Calendar/YearDay.hs
@@ -1,6 +1,11 @@
 {-# OPTIONS -Wall -Werror #-}
 
-module System.Time.Calendar.YearDay where
+-- #hide
+module System.Time.Calendar.YearDay
+	(
+	-- * Year and day format
+	module System.Time.Calendar.YearDay
+	) where
 
 import System.Time.Calendar.Calendar
 import System.Time.Calendar.Private



More information about the ghc-commits mailing list