Skip to content

Commit 1724c5c

Browse files
ttuegelrv-jenkins
andauthored
Prelude.Kore: Export (<&>) and void (#2661)
* Prelude.Kore: Export Data.Functor.(<&>) * Prelude.Kore: Export Data.Functor.void Co-authored-by: rv-jenkins <admin@runtimeverification.com>
1 parent f3b324f commit 1724c5c

File tree

11 files changed

+6
-26
lines changed

11 files changed

+6
-26
lines changed

kore/app/exec/Main.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ import Control.Monad.Extra as Monad
1212
import Data.Default (
1313
def,
1414
)
15-
import Data.Functor (
16-
(<&>),
17-
)
1815
import Data.Generics.Product (
1916
field,
2017
)

kore/src/Kore/Log/KoreLogOptions.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ module Kore.Log.KoreLogOptions (
2323

2424
import qualified Data.Char as Char
2525
import Data.Default
26-
import Data.Functor (
27-
void,
28-
)
2926
import Data.HashSet (
3027
HashSet,
3128
)

kore/src/Kore/Repl.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import Control.Concurrent.MVar
1313
import qualified Control.Lens as Lens
1414
import Control.Monad (
1515
forever,
16-
void,
1716
)
1817
import Control.Monad.Catch (
1918
MonadMask,

kore/src/Kore/Repl/Interpreter.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import Control.Lens (
2929
)
3030
import qualified Control.Lens as Lens
3131
import Control.Monad (
32-
void,
3332
(<=<),
3433
)
3534
import Control.Monad.Extra (

kore/src/Kore/Repl/Parser.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ module Kore.Repl.Parser (
1111
ReplParseError (..),
1212
) where
1313

14-
import Data.Functor (
15-
void,
16-
)
1714
import Data.GraphViz (
1815
GraphvizOutput,
1916
)

kore/src/Kore/Step/Step.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ module Kore.Step.Step (
2929
Step.results,
3030
) where
3131

32-
import Data.Functor (
33-
(<&>),
34-
)
3532
import qualified Data.Map.Strict as Map
3633
import Data.Set (
3734
Set,

kore/src/Kore/Unification/SubstitutionNormalization.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ module Kore.Unification.SubstitutionNormalization (
1515

1616
import qualified Control.Comonad.Trans.Cofree as Cofree
1717
import qualified Control.Monad.State.Strict as State
18-
import Data.Functor (
19-
(<&>),
20-
)
2118
import Data.Functor.Const
2219
import Data.Functor.Foldable (
2320
Base,

kore/src/Prelude/Kore.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module Prelude.Kore (
1313
-- * Functions
1414
(&),
1515
on,
16+
(<&>),
1617

1718
-- * Maybe
1819
isJust,
@@ -62,6 +63,7 @@ module Prelude.Kore (
6263
MonadPlus (..),
6364
MonadIO (..),
6465
MonadTrans (..),
66+
void,
6567
unless,
6668
when,
6769

@@ -143,6 +145,10 @@ import Data.Function (
143145
on,
144146
(&),
145147
)
148+
import Data.Functor (
149+
void,
150+
(<&>),
151+
)
146152
import Data.Hashable (
147153
Hashable (..),
148154
)

kore/test/Test/Kore.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ import Control.Monad.Reader (
4444
ReaderT,
4545
)
4646
import qualified Control.Monad.Reader as Reader
47-
import Data.Functor (
48-
(<&>),
49-
)
5047
import Data.Functor.Const
5148
import Data.Text (
5249
Text,

kore/test/Test/Kore/Builtin/Map.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ import Control.Monad (
5454
)
5555
import qualified Data.Bifunctor as Bifunctor
5656
import qualified Data.Default as Default
57-
import Data.Functor (
58-
(<&>),
59-
)
6057
import Data.HashMap.Strict (
6158
HashMap,
6259
)

0 commit comments

Comments
 (0)