Skip to content

Commit

Permalink
yampa: Make export list explicit (KSG Haskell 1.3.0 - 3.4). Refs #266.
Browse files Browse the repository at this point in the history
The module declaration should explicitly list the definitions exported
by the module.
  • Loading branch information
ivanperez-keera committed Apr 29, 2023
1 parent bd735ae commit 4c8215e
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion yampa/src/FRP/Yampa/Event.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,45 @@
--
-- Events are essential for many other Yampa constructs, like switches (see
-- 'FRP.Yampa.Switches.switch' for details).
module FRP.Yampa.Event where
module FRP.Yampa.Event
(
-- * The Event type
Event(..)
, noEvent
, noEventFst
, noEventSnd

-- * Internal utilities for event construction
, maybeToEvent

-- * Utility functions similar to those available for Maybe
, event
, fromEvent
, isEvent
, isNoEvent

-- * Event tagging
, tag
, tagWith
, attach

-- * Event merging (disjunction) and joining (conjunction)
, lMerge
, rMerge
, merge
, mergeBy
, mapMerge
, mergeEvents
, catEvents
, joinE
, splitE

-- * Event filtering
, filterE
, mapFilterE
, gate
)
where

import Control.Applicative
import Control.DeepSeq (NFData (..))
Expand Down

0 comments on commit 4c8215e

Please sign in to comment.