diff options
-rw-r--r-- | libraries/base/GHC/Event.hs | 1 | ||||
-rw-r--r-- | libraries/base/GHC/Event/Internal.hs | 2 | ||||
-rw-r--r-- | libraries/base/changelog.md | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/libraries/base/GHC/Event.hs b/libraries/base/GHC/Event.hs index 436914cf8a..9f1d3dfd73 100644 --- a/libraries/base/GHC/Event.hs +++ b/libraries/base/GHC/Event.hs @@ -25,6 +25,7 @@ module GHC.Event , evtWrite , IOCallback , FdKey(keyFd) + , Lifetime(..) , registerFd , unregisterFd , unregisterFd_ diff --git a/libraries/base/GHC/Event/Internal.hs b/libraries/base/GHC/Event/Internal.hs index c18bd7f394..3b75c8bb40 100644 --- a/libraries/base/GHC/Event/Internal.hs +++ b/libraries/base/GHC/Event/Internal.hs @@ -84,6 +84,8 @@ evtConcat = foldl' evtCombine evtNothing {-# INLINE evtConcat #-} -- | The lifetime of a registration. +-- +-- @since 4.8.1.0 data Lifetime = OneShot | MultiShot deriving (Show, Eq) diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md index 813ac6bf25..ad3a74dc72 100644 --- a/libraries/base/changelog.md +++ b/libraries/base/changelog.md @@ -39,6 +39,8 @@ * Bundled with GHC 7.10.2 + * `Lifetime` is now exported from `GHC.Event` + ## 4.8.0.0 *Mar 2015* * Bundled with GHC 7.10.1 |