From 0112b934a59c56a52c2dbfa0e10b2d5693a6fa60 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/Task.hs | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/yampa/src/FRP/Yampa/Task.hs b/yampa/src/FRP/Yampa/Task.hs index 46d4525d..b407bf23 100644 --- a/yampa/src/FRP/Yampa/Task.hs +++ b/yampa/src/FRP/Yampa/Task.hs @@ -10,18 +10,19 @@ -- Portability : non-portable (GHC extensions) -- -- Task abstraction on top of signal transformers. -module FRP.Yampa.Task ( - Task, - mkTask, - runTask, - runTask_, - taskToSF, - constT, - sleepT, - snapT, - timeOut, - abortWhen, -) where +module FRP.Yampa.Task + ( Task + , mkTask + , runTask + , runTask_ + , taskToSF + , constT + , sleepT + , snapT + , timeOut + , abortWhen + ) + where #if __GLASGOW_HASKELL__ < 710 import Control.Applicative (Applicative(..))