Skip to content

Commit

Permalink
Run stylish-haskell version 0.14.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Oct 20, 2023
1 parent 393397b commit 731127c
Show file tree
Hide file tree
Showing 36 changed files with 85 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ import Data.Text.Class
, toTextFromBoundedEnum
)
import Data.Type.Equality
( (:~:) (..)
, testEquality
( testEquality
, (:~:) (..)
)
import Data.Word
( Word32
Expand Down
4 changes: 2 additions & 2 deletions lib/balance-tx/lib/internal/Internal/Cardano/Write/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ import Data.Maybe
, isJust
)
import Data.Type.Equality
( (:~:) (Refl)
, TestEquality (testEquality)
( TestEquality (testEquality)
, (:~:) (Refl)
)
import Data.Typeable
( Typeable
Expand Down
16 changes: 8 additions & 8 deletions lib/balance-tx/lib/internal/Internal/Cardano/Write/Tx/Balance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ import Data.Semigroup.Cancellative
( Reductive ((</>))
)
import Data.Type.Equality
( (:~:) (..)
, testEquality
( testEquality
, (:~:) (..)
)
import Fmt
( Buildable
Expand Down Expand Up @@ -281,41 +281,41 @@ import Text.Pretty.Simple

import qualified Cardano.Address.Script as CA
import qualified Cardano.Api as Cardano
import qualified Cardano.Api.Byron as Cardano
import qualified Cardano.Api.Byron as Byron
import qualified Cardano.Api.Byron as Cardano
import qualified Cardano.Api.Shelley as Cardano
import qualified Cardano.CoinSelection.UTxOIndex as UTxOIndex
import qualified Cardano.CoinSelection.UTxOSelection as UTxOSelection
import qualified Cardano.Ledger.Core as Core
import qualified Cardano.Wallet.Primitive.Types.Address as W
( Address
)
import qualified Cardano.Wallet.Primitive.Types.Coin as W.Coin
import qualified Cardano.Wallet.Primitive.Types.Coin as W
( Coin (..)
)
import qualified Cardano.Wallet.Primitive.Types.TokenBundle as W.TokenBundle
import qualified Cardano.Wallet.Primitive.Types.Coin as W.Coin
import qualified Cardano.Wallet.Primitive.Types.TokenBundle as W
( TokenBundle (..)
)
import qualified Cardano.Wallet.Primitive.Types.TokenMap as W.TokenMap
import qualified Cardano.Wallet.Primitive.Types.TokenBundle as W.TokenBundle
import qualified Cardano.Wallet.Primitive.Types.TokenMap as W
( AssetId
)
import qualified Cardano.Wallet.Primitive.Types.TokenMap as W.TokenMap
import qualified Cardano.Wallet.Primitive.Types.TokenQuantity as W
( TokenQuantity
)
import qualified Cardano.Wallet.Primitive.Types.Tx.TxIn as W
( TxIn
)
import qualified Cardano.Wallet.Primitive.Types.Tx.TxOut as W.TxOut
import qualified Cardano.Wallet.Primitive.Types.Tx.TxOut as W
( TxOut (..)
)
import qualified Cardano.Wallet.Primitive.Types.UTxO as W.UTxO
import qualified Cardano.Wallet.Primitive.Types.Tx.TxOut as W.TxOut
import qualified Cardano.Wallet.Primitive.Types.UTxO as W
( UTxO (..)
)
import qualified Cardano.Wallet.Primitive.Types.UTxO as W.UTxO
import qualified Cardano.Wallet.Shelley.Compatibility.Ledger as Convert
import qualified Data.Foldable as F
import qualified Data.List as L
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ import GHC.Generics
( Generic
)

import qualified Cardano.Wallet.Primitive.Types.TokenBundle as W.TokenBundle
import qualified Cardano.Wallet.Primitive.Types.TokenBundle as W
( TokenBundle
)
import qualified Cardano.Wallet.Primitive.Types.TokenMap as W.TokenMap
import qualified Cardano.Wallet.Primitive.Types.TokenBundle as W.TokenBundle
import qualified Cardano.Wallet.Primitive.Types.TokenMap as W
( AssetId
)
import qualified Cardano.Wallet.Primitive.Types.TokenMap as W.TokenMap
import qualified Data.Foldable as F
import qualified Data.List as L
import qualified Data.List.NonEmpty as NE
Expand Down
4 changes: 2 additions & 2 deletions lib/delta-table/src/Database/Persist/Delta.hs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ import Database.Persist.Sql
, toSqlKey
)
import Database.Schema
( (:.) (..)
, Col (..)
( Col (..)
, IsRow
, Primary (..)
, (:.) (..)
)
import Say
( say
Expand Down
4 changes: 2 additions & 2 deletions lib/delta-table/src/Demo/Database.hs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ import Database.Persist.TH
, sqlSettings
)
import Database.Schema
( (:.) (..)
, Col (..)
( Col (..)
, Primary
, Table (..)
, (:.) (..)
)
import GHC.Generics
( Generic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ import Data.Text
( Text
)
import Data.Type.Equality
( (:~:) (..)
, testEquality
( testEquality
, (:~:) (..)
)
import Fmt
( Buildable (..)
Expand Down
4 changes: 2 additions & 2 deletions lib/read/lib/Cardano/Wallet/Read/Eras.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ import Cardano.Wallet.Read.Eras.KnownEras
, knownEraIndices
)
import Generics.SOP
( (:.:) (..)
, K (..)
( K (..)
, unK
, (:.:) (..)
)
import GHC.Generics
( (:*:) (..)
Expand Down
4 changes: 2 additions & 2 deletions lib/read/lib/Cardano/Wallet/Read/Eras/EraFun.hs
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ import Control.Category
( Category (..)
)
import Generics.SOP
( (:.:) (..)
, I (..)
( I (..)
, K (..)
, NP
, Proxy (Proxy)
, productTypeFrom
, productTypeTo
, unComp
, unK
, (:.:) (..)
)
import Generics.SOP.Classes
import Generics.SOP.NP
Expand Down
4 changes: 2 additions & 2 deletions lib/read/lib/Cardano/Wallet/Read/Eras/EraValue.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ import Data.Generics.Internal.VL
, prism
)
import Generics.SOP
( (:.:)
, All
( All
, Compose
, K (..)
, NP (..)
Expand All @@ -86,6 +85,7 @@ import Generics.SOP
, injections
, unComp
, unK
, (:.:)
)
import Generics.SOP.Classes
import Generics.SOP.NP
Expand Down
4 changes: 2 additions & 2 deletions lib/read/lib/Cardano/Wallet/Read/Tx/CBOR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ import Cardano.Ledger.Binary.Decoding
, shelleyProtVer
)
import Cardano.Wallet.Read.Eras
( (:.:) (..)
, EraFun (..)
( EraFun (..)
, EraValue
, K (..)
, applyEraFun
, extractEraValue
, sequenceEraValue
, (:.:) (..)
)
import Cardano.Wallet.Read.Tx
( Tx (..)
Expand Down
4 changes: 2 additions & 2 deletions lib/test-utils/src/Test/QuickCheck/Extra.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ import Fmt
)
import Generics.SOP
import GHC.TypeNats
( type (<=)
, KnownNat
( KnownNat
, Nat
, natVal
, type (<=)
)
import Numeric.Natural
( Natural
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ import Network.Wai.Middleware.Logging
, withApiLogger
)
import Servant
( (:<|>) (..)
, (:>)
, Application
( Application
, DeleteNoContent
, Get
, JSON
Expand All @@ -114,6 +112,8 @@ import Servant
, err503
, serve
, throwError
, (:<|>) (..)
, (:>)
)
import Servant.Server
( Handler
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet-e2e/src/Cardano/Wallet/Spec/Effect/Assert.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import Cardano.Wallet.Spec.Effect.Trace
, trace
)
import Effectful
( (:>)
, Eff
( Eff
, Effect
, (:>)
)
import Effectful.Dispatch.Dynamic
( interpret
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet-e2e/src/Cardano/Wallet/Spec/Effect/Http.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import Control.Exception
( try
)
import Effectful
( (:>)
, Eff
( Eff
, Effect
, IOE
, (:>)
)
import Effectful.Dispatch.Dynamic
( interpret
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet-e2e/src/Cardano/Wallet/Spec/Effect/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ import Cardano.Wallet.Spec.Network.Config
( NetworkConfig (..)
)
import Effectful
( (:>)
, Eff
( Eff
, Effect
, (:>)
)
import Effectful.Dispatch.Dynamic
( interpret
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet-e2e/src/Cardano/Wallet/Spec/Effect/Random.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import Data.Tagged
( Tagged (..)
)
import Effectful
( (:>)
, Eff
( Eff
, Effect
, (:>)
)
import Effectful.Dispatch.Dynamic
( interpret
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet-e2e/src/Cardano/Wallet/Spec/Effect/Timeout.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import Data.Time.TimeSpan
, timeoutTS
)
import Effectful
( (:>)
, Eff
( Eff
, Effect
, IOE
, (:>)
)
import Effectful.Dispatch.Dynamic
( interpret
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet-e2e/src/Cardano/Wallet/Spec/Stories/Language.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module Cardano.Wallet.Spec.Stories.Language (FxStory) where

import Effectful
( (:>)
, Eff
( Eff
, (:>)
)

type FxStory otherEffects knownEffects a =
Expand Down
6 changes: 3 additions & 3 deletions lib/wallet/api/http/Cardano/Wallet/Api.hs
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ import GHC.Generics
( Generic
)
import Servant.API
( (:<|>)
, (:>)
, Capture
( Capture
, JSON
, OctetStream
, QueryFlag
, QueryParam
, ReqBody
, (:<|>)
, (:>)
)
import Servant.API.Verbs
( DeleteAccepted
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet/api/http/Cardano/Wallet/Api/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ import Data.Text
( Text
)
import Servant
( (:<|>) (..)
( NoContent
, (:<|>) (..)
, (:>)
, NoContent
)
import Servant.Client
( ClientM
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet/api/http/Cardano/Wallet/Api/Http/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ import Network.Ntp
( NtpClient
)
import Servant
( (:<|>) (..)
, Handler (..)
( Handler (..)
, NoContent (..)
, Server
, err400
, (:<|>) (..)
)
import Servant.Server
( ServerError (..)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ import Cardano.Wallet.Read
( Tx (..)
)
import Cardano.Wallet.Read.Eras
( (:.:)
, EraFun (..)
( EraFun (..)
, K (..)
, applyEraFun
, extractEraValue
, sequenceEraValue
, (*&&&*)
, (*.**)
, (:.:)
)
import Cardano.Wallet.Read.Eras.EraFun
( EraFunK (..)
Expand Down
4 changes: 2 additions & 2 deletions lib/wallet/api/http/Cardano/Wallet/Api/Link.hs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ import Numeric.Natural
( Natural
)
import Servant.API
( (:>)
, Capture'
( Capture'
, Header'
, IsElem
, NoContentVerb
Expand All @@ -210,6 +209,7 @@ import Servant.API
, ReflectMethod (..)
, ReqBody
, Verb
, (:>)
)
import Servant.Links
( HasLink (..)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ import Network.Wai.Handler.Warp
, withApplication
)
import Servant.API
( (:>)
, JSON
( JSON
, Post
, ReqBody
, (:>)
)
import Servant.Server
( Handler (..)
Expand Down
Loading

0 comments on commit 731127c

Please sign in to comment.