Skip to content

Commit

Permalink
yampa: Adjust format of export lists (KSG Haskell 1.3.0 - 4.2). Refs #…
Browse files Browse the repository at this point in the history
…212.

For lists or tuple elements separated by commas in which each value is listed
in a separate line, and when the Haskell syntax allows it, the comma must be
the first character of every line but the first.

This commit adjust commas and indentation of export lists.
  • Loading branch information
ivanperez-keera committed May 15, 2022
1 parent ecfd361 commit 3f02906
Showing 1 changed file with 173 additions and 173 deletions.
346 changes: 173 additions & 173 deletions yampa/src/FRP/Yampa.hs
Original file line number Diff line number Diff line change
Expand Up @@ -232,179 +232,179 @@
-- indicate that things NEVER are going to change, and thus we can just
-- as well give up?

module FRP.Yampa (

-- * Basic definitions
Time,
DTime,
SF,
Event(..),

-- ** Lifting
arrPrim, arrEPrim,

-- * Signal functions

-- ** Basic signal functions
identity,
constant,
localTime,
time,

-- ** Initialization
(-->),
(-:>),
(>--),
(-=>),
(>=-),
initially,

-- ** Simple, stateful signal processing
sscan,
sscanPrim,

-- * Events
-- ** Basic event sources
never,
now,
after,
repeatedly,
afterEach,
afterEachCat,
delayEvent,
delayEventCat,
edge,
iEdge,
edgeTag,
edgeJust,
edgeBy,
maybeToEvent,

-- ** Stateful event suppression
notYet,
once,
takeEvents,
dropEvents,

-- ** Pointwise functions on events
noEvent,
noEventFst,
noEventSnd,
event,
fromEvent,
isEvent,
isNoEvent,
tag,
tagWith,
attach,
lMerge,
rMerge,
merge,
mergeBy,
mapMerge,
mergeEvents,
catEvents,
joinE,
splitE,
filterE,
mapFilterE,
gate,

-- * Switching
-- ** Basic switchers
switch, dSwitch,
rSwitch, drSwitch,
kSwitch, dkSwitch,

-- ** Parallel composition and switching
-- *** Parallel composition and switching over collections with broadcasting
parB,
pSwitchB,dpSwitchB,
rpSwitchB,drpSwitchB,

-- *** Parallel composition and switching over collections with general routing
par,
pSwitch, dpSwitch,
rpSwitch,drpSwitch,

-- * Discrete to continuous-time signal functions
-- ** Wave-form generation
hold,
dHold,
trackAndHold,

-- ** Accumulators
accum,
accumHold,
dAccumHold,
accumBy,
accumHoldBy,
dAccumHoldBy,
accumFilter,

-- * Delays
-- ** Basic delays
pre,
iPre,

-- ** Timed delays
delay,

-- ** Variable delay
pause,

-- * State keeping combinators

-- ** Loops with guaranteed well-defined feedback
loopPre,
loopIntegral,

-- ** Integration and differentiation
integral,
imIntegral,
impulseIntegral,
count,
derivative,


-- Temporarily hidden, but will eventually be made public.
iterFrom,

-- * Noise (random signal) sources and stochastic event sources
noise,
noiseR,
occasionally,

RandomGen(..),
Random(..),

-- * Execution/simulation
-- ** Reactimation
reactimate,
ReactHandle,
reactInit,
react,

-- ** Embedding
embed,
embedSynch,
deltaEncode,
deltaEncodeBy,

FutureSF,
evalAtZero,
evalAt,
evalFuture,

-- * Auxiliary definitions
-- Reverse function composition and arrow plumbing aids
dup,

-- Re-exported module, classes, and types
module Control.Arrow,
module Data.VectorSpace,

) where
module FRP.Yampa
(
-- * Basic definitions
Time
, DTime
, SF
, Event(..)

-- ** Lifting
, arrPrim, arrEPrim

-- * Signal functions

-- ** Basic signal functions
, identity
, constant
, localTime
, time

-- ** Initialization
, (-->)
, (-:>)
, (>--)
, (-=>)
, (>=-)
, initially

-- ** Simple, stateful signal processing
, sscan
, sscanPrim

-- * Events
-- ** Basic event sources
, never
, now
, after
, repeatedly
, afterEach
, afterEachCat
, delayEvent
, delayEventCat
, edge
, iEdge
, edgeTag
, edgeJust
, edgeBy
, maybeToEvent

-- ** Stateful event suppression
, notYet
, once
, takeEvents
, dropEvents

-- ** Pointwise functions on events
, noEvent
, noEventFst
, noEventSnd
, event
, fromEvent
, isEvent
, isNoEvent
, tag
, tagWith
, attach
, lMerge
, rMerge
, merge
, mergeBy
, mapMerge
, mergeEvents
, catEvents
, joinE
, splitE
, filterE
, mapFilterE
, gate

-- * Switching
-- ** Basic switchers
, switch, dSwitch
, rSwitch, drSwitch
, kSwitch, dkSwitch

-- ** Parallel composition and switching
-- *** Parallel composition and switching over collections with broadcasting
, parB
, pSwitchB,dpSwitchB
, rpSwitchB,drpSwitchB

-- *** Parallel composition and switching over collections with general routing
, par
, pSwitch, dpSwitch
, rpSwitch,drpSwitch

-- * Discrete to continuous-time signal functions
-- ** Wave-form generation
, hold
, dHold
, trackAndHold

-- ** Accumulators
, accum
, accumHold
, dAccumHold
, accumBy
, accumHoldBy
, dAccumHoldBy
, accumFilter

-- * Delays
-- ** Basic delays
, pre
, iPre

-- ** Timed delays
, delay

-- ** Variable delay
, pause

-- * State keeping combinators

-- ** Loops with guaranteed well-defined feedback
, loopPre
, loopIntegral

-- ** Integration and differentiation
, integral
, imIntegral
, impulseIntegral
, count
, derivative


-- Temporarily hidden, but will eventually be made public.
, iterFrom

-- * Noise (random signal) sources and stochastic event sources
, noise
, noiseR
, occasionally

, RandomGen(..)
, Random(..)

-- * Execution/simulation
-- ** Reactimation
, reactimate
, ReactHandle
, reactInit
, react

-- ** Embedding
, embed
, embedSynch
, deltaEncode
, deltaEncodeBy

, FutureSF
, evalAtZero
, evalAt
, evalFuture

-- * Auxiliary definitions
-- Reverse function composition and arrow plumbing aids
, dup

-- Re-exported module, classes, and types
, module Control.Arrow
, module Data.VectorSpace
)
where


import FRP.Yampa.InternalCore
Expand Down

0 comments on commit 3f02906

Please sign in to comment.