Skip to content

Commit

Permalink
Move ImportQualifiedPost
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Mar 26, 2024
1 parent c003005 commit ade5121
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions rhine/rhine.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ common opts
DataKinds
FlexibleContexts
FlexibleInstances
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoStarIsType
Expand Down
4 changes: 2 additions & 2 deletions rhine/src/FRP/Rhine/ClSF/Except.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module FRP.Rhine.ClSF.Except (
where

-- base
import qualified Control.Category as Category
import Control.Category qualified as Category

-- transformers
import Control.Monad.Trans.Class (lift)
Expand All @@ -32,7 +32,7 @@ import Control.Monad.Trans.MSF.Except hiding (once, once_, throwOn, throwOn', th
import Data.MonadicStreamFunction

-- TODO Find out whether there is a cleverer way to handle exports
import qualified Control.Monad.Trans.MSF.Except as MSFE
import Control.Monad.Trans.MSF.Except qualified as MSFE

-- rhine
import FRP.Rhine.ClSF.Core
Expand Down
2 changes: 1 addition & 1 deletion rhine/src/FRP/Rhine/ClSF/Random.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Control.Monad.Random
-- dunai
import Control.Monad.Trans.MSF.Except (performOnFirstSample)
import Control.Monad.Trans.MSF.Random as X hiding (evalRandS, getRandomRS, getRandomRS_, getRandomS, runRandS)
import qualified Control.Monad.Trans.MSF.Random as MSF
import Control.Monad.Trans.MSF.Random qualified as MSF

-- rhine
import FRP.Rhine.ClSF.Core
Expand Down
2 changes: 1 addition & 1 deletion rhine/src/FRP/Rhine/ClSF/Reader.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Data.Tuple (swap)
import Control.Monad.Trans.Reader

-- dunai
import qualified Control.Monad.Trans.MSF.Reader as MSF
import Control.Monad.Trans.MSF.Reader qualified as MSF

-- rhine
import FRP.Rhine.ClSF.Core
Expand Down
2 changes: 1 addition & 1 deletion rhine/src/FRP/Rhine/ClSF/Util.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module FRP.Rhine.ClSF.Util where
-- base
import Control.Arrow
import Control.Category (Category)
import qualified Control.Category (id)
import Control.Category qualified (id)
import Data.Maybe (fromJust)
import Data.Monoid (Last (Last), getLast)

Expand Down
2 changes: 1 addition & 1 deletion rhine/src/FRP/Rhine/Clock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module FRP.Rhine.Clock (
where

-- base
import qualified Control.Category as Category
import Control.Category qualified as Category

-- transformers
import Control.Monad.IO.Class (MonadIO, liftIO)
Expand Down
2 changes: 0 additions & 2 deletions rhine/src/FRP/Rhine/Clock/Except.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{-# LANGUAGE ImportQualifiedPost #-}

module FRP.Rhine.Clock.Except where

-- base
Expand Down
4 changes: 2 additions & 2 deletions rhine/src/FRP/Rhine/Clock/Realtime/Stdin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import Data.Time.Clock
import Control.Monad.IO.Class

-- text
import qualified Data.Text as Text
import qualified Data.Text.IO as Text
import Data.Text qualified as Text
import Data.Text.IO qualified as Text

-- rhine
import FRP.Rhine.Clock
Expand Down
2 changes: 1 addition & 1 deletion rhine/src/FRP/Rhine/Clock/Unschedule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module FRP.Rhine.Clock.Unschedule where

-- base
import qualified Control.Concurrent as Concurrent (yield)
import Control.Concurrent qualified as Concurrent (yield)
import Control.Monad.IO.Class

-- monad-schedule
Expand Down
2 changes: 1 addition & 1 deletion rhine/src/FRP/Rhine/Schedule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module FRP.Rhine.Schedule where

-- base
import Data.List.NonEmpty (NonEmpty (..))
import qualified Data.List.NonEmpty as N
import Data.List.NonEmpty qualified as N

-- dunai
import Data.MonadicStreamFunction
Expand Down

0 comments on commit ade5121

Please sign in to comment.