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 001fd1a commit 39f4a26
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions yampa/src/FRP/Yampa/Switches.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,36 +62,37 @@
-- and also helps determine the expected behaviour of a combinator by looking
-- at its name. For example, 'drpSwitchB' is the decoupled (/d/), recurrent
-- (/r/), parallel (/p/) switch with broadcasting (/B/).
module FRP.Yampa.Switches (
-- * Basic switching
switch, dSwitch,
rSwitch, drSwitch,
kSwitch, dkSwitch,

-- * Parallel composition\/switching (collections)
-- ** With broadcasting
parB,
pSwitchB,dpSwitchB,
rpSwitchB,drpSwitchB,

-- ** With helper routing function
par,
pSwitch, dpSwitch,
rpSwitch,drpSwitch,

-- * Parallel composition\/switching (lists)
--
-- ** With "zip" routing
parZ,
pSwitchZ,
dpSwitchZ,
rpSwitchZ,
drpSwitchZ,

-- ** With replication
parC,

) where
module FRP.Yampa.Switches
(
-- * Basic switching
switch, dSwitch
, rSwitch, drSwitch
, kSwitch, dkSwitch

-- * Parallel composition\/switching (collections)
-- ** With broadcasting
, parB
, pSwitchB,dpSwitchB
, rpSwitchB,drpSwitchB

-- ** With helper routing function
, par
, pSwitch, dpSwitch
, rpSwitch,drpSwitch

-- * Parallel composition\/switching (lists)
--
-- ** With "zip" routing
, parZ
, pSwitchZ
, dpSwitchZ
, rpSwitchZ
, drpSwitchZ

-- ** With replication
, parC
)
where

import Control.Arrow

Expand Down

0 comments on commit 39f4a26

Please sign in to comment.