From 905cc07bc57aea73111dfec8a3ceffa157eb8a93 Mon Sep 17 00:00:00 2001 From: Ivan Perez Date: Sat, 14 May 2022 19:56:40 -0400 Subject: [PATCH] yampa: Adjust format of export lists (KSG Haskell 1.3.0 - 4.2). Refs #212. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- yampa/src/FRP/Yampa/Arrow.hs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/yampa/src/FRP/Yampa/Arrow.hs b/yampa/src/FRP/Yampa/Arrow.hs index 10d819e0..2b0a4758 100644 --- a/yampa/src/FRP/Yampa/Arrow.hs +++ b/yampa/src/FRP/Yampa/Arrow.hs @@ -9,16 +9,18 @@ -- Portability : portable -- -- Arrow helper functions. -module FRP.Yampa.Arrow ( - -- * Arrow plumbing aids - dup, - - -- * Liftings - arr2, - arr3, - arr4, - arr5, -) where +module FRP.Yampa.Arrow + ( + -- * Arrow plumbing aids + dup + + -- * Liftings + , arr2 + , arr3 + , arr4 + , arr5 + ) + where #if __GLASGOW_HASKELL__ < 710 import Control.Applicative (Applicative(..))