summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Event
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-04-25 09:13:49 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2015-04-25 09:49:19 +0200
commit9a0c17950fdfd0c89c672da9d8b25a419f66c1f8 (patch)
treeeba21147bc9c31ed778e0b0b05f2447ed31191ef /libraries/base/GHC/Event
parent75adc352549a43d4c37bd3bdade55cecf3d75bb1 (diff)
downloadhaskell-9a0c17950fdfd0c89c672da9d8b25a419f66c1f8.tar.gz
base: Export GHC.Event(.Internal).Lifetime
This was an unfortunate oversight in the original event manager rework patch. Fixes #10308 Differential Revision: https://phabricator.haskell.org/D845
Diffstat (limited to 'libraries/base/GHC/Event')
-rw-r--r--libraries/base/GHC/Event/Internal.hs2
1 files changed, 2 insertions, 0 deletions
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)