Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
a7c7139e
Commit
a7c7139e
authored
Nov 10, 2021
by
Matthieu Coudron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: cleanup imports
to make the buildlogs clearer
parent
ca386f46
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
3 additions
and
17 deletions
+3
-17
Parser.hs
ipython-kernel/src/IHaskell/IPython/Message/Parser.hs
+0
-1
UUID.hs
ipython-kernel/src/IHaskell/IPython/Message/UUID.hs
+0
-1
Types.hs
ipython-kernel/src/IHaskell/IPython/Types.hs
+0
-1
ZeroMQ.hs
ipython-kernel/src/IHaskell/IPython/ZeroMQ.hs
+1
-1
Main.hs
main/Main.hs
+1
-1
Convert.hs
src/IHaskell/Convert.hs
+0
-2
Args.hs
src/IHaskell/Convert/Args.hs
+0
-4
Completion.hs
src/IHaskell/Eval/Completion.hs
+1
-2
Evaluate.hs
src/IHaskell/Eval/Evaluate.hs
+0
-3
Widgets.hs
src/IHaskell/Eval/Widgets.hs
+0
-1
No files found.
ipython-kernel/src/IHaskell/IPython/Message/Parser.hs
View file @
a7c7139e
...
...
@@ -8,7 +8,6 @@
-- the low-level 0MQ interface.
module
IHaskell.IPython.Message.Parser
(
parseMessage
)
where
import
Control.Applicative
((
<$>
),
(
<*>
))
import
Data.Aeson
((
.:
),
(
.:?
),
(
.!=
),
decode
,
FromJSON
,
Result
(
..
),
Object
,
Value
(
..
))
import
Data.Aeson.Types
(
Parser
,
parse
,
parseEither
)
import
Data.ByteString
hiding
(
unpack
)
...
...
ipython-kernel/src/IHaskell/IPython/Message/UUID.hs
View file @
a7c7139e
...
...
@@ -3,7 +3,6 @@
-- Generate, parse, and pretty print UUIDs for use with IPython.
module
IHaskell.IPython.Message.UUID
(
UUID
,
random
,
randoms
,
uuidToString
)
where
import
Control.Applicative
((
<$>
))
import
Control.Monad
(
mzero
,
replicateM
)
import
Data.Aeson
import
Data.Text
(
pack
)
...
...
ipython-kernel/src/IHaskell/IPython/Types.hs
View file @
a7c7139e
...
...
@@ -38,7 +38,6 @@ module IHaskell.IPython.Types (
displayDataToJson
,
)
where
import
Control.Applicative
((
<$>
),
(
<*>
))
import
Data.Aeson
import
Data.Aeson.Types
(
typeMismatch
)
import
Data.ByteString
(
ByteString
)
...
...
ipython-kernel/src/IHaskell/IPython/ZeroMQ.hs
View file @
a7c7139e
{-# LANGUAGE OverloadedStrings, DoAndIfThenElse, FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings, DoAndIfThenElse, FlexibleContexts
, CPP
#-}
-- | Description : Low-level ZeroMQ communication wrapper.
--
...
...
main/Main.hs
View file @
a7c7139e
...
...
@@ -15,7 +15,7 @@ import Control.Arrow (second)
import
Data.Aeson
hiding
(
Success
)
import
System.Process
(
readProcess
,
readProcessWithExitCode
)
import
System.Exit
(
exitSuccess
,
ExitCode
(
ExitSuccess
))
import
Control.Exception
(
try
,
SomeException
)
import
Control.Exception
(
try
)
import
System.Environment
(
getArgs
)
import
System.Environment
(
setEnv
)
import
System.Posix.Signals
...
...
src/IHaskell/Convert.hs
View file @
a7c7139e
...
...
@@ -5,14 +5,12 @@ module IHaskell.Convert (convert) where
import
IHaskellPrelude
import
Control.Monad
(
unless
,
when
)
import
Data.Functor.Identity
(
Identity
(
Identity
))
import
IHaskell.Convert.Args
(
ConvertSpec
(
..
),
fromJustConvertSpec
,
toConvertSpec
)
import
IHaskell.Convert.IpynbToLhs
(
ipynbToLhs
)
import
IHaskell.Convert.LhsToIpynb
(
lhsToIpynb
)
import
IHaskell.Flags
(
Argument
)
import
System.Directory
(
doesFileExist
)
import
Text.Printf
(
printf
)
-- | used by @IHaskell convert@
convert
::
[
Argument
]
->
IO
()
...
...
src/IHaskell/Convert/Args.hs
View file @
a7c7139e
...
...
@@ -6,14 +6,10 @@ module IHaskell.Convert.Args (ConvertSpec(..), fromJustConvertSpec, toConvertSpe
import
IHaskellPrelude
import
qualified
Data.Text.Lazy
as
LT
import
Control.Applicative
((
<$>
))
import
Data.Functor.Identity
(
Identity
(
Identity
))
import
Data.Char
(
toLower
)
import
Data.List
(
partition
)
import
Data.Maybe
(
fromMaybe
)
import
IHaskell.Flags
(
Argument
(
..
),
LhsStyle
,
lhsStyleBird
,
NotebookFormat
(
..
))
import
System.FilePath
((
<.>
),
dropExtension
,
takeExtension
)
import
Text.Printf
(
printf
)
-- | ConvertSpec is the accumulator for command line arguments
data
ConvertSpec
f
=
...
...
src/IHaskell/Eval/Completion.hs
View file @
a7c7139e
...
...
@@ -14,9 +14,8 @@ module IHaskell.Eval.Completion (complete, completionTarget, completionType, Com
import
IHaskellPrelude
import
Control.Applicative
((
<$>
))
import
Data.Char
import
Data.List
(
nub
,
init
,
last
,
elemIndex
,
concatMap
)
import
Data.List
(
init
,
last
,
elemIndex
)
import
qualified
Data.List.Split
as
Split
import
qualified
Data.List.Split.Internals
as
Split
import
System.Environment
(
getEnv
)
...
...
src/IHaskell/Eval/Evaluate.hs
View file @
a7c7139e
...
...
@@ -23,7 +23,6 @@ import IHaskellPrelude
import
Control.Concurrent
(
forkIO
,
threadDelay
)
import
Data.Foldable
(
foldMap
)
import
Prelude
(
head
,
tail
,
last
,
init
)
import
Data.List
(
nubBy
)
import
qualified
Data.Set
as
Set
import
Data.Char
as
Char
import
Data.Dynamic
...
...
@@ -34,7 +33,6 @@ import System.IO (hGetChar, hSetEncoding, utf8)
import
System.Random
(
getStdGen
,
randomRs
)
import
System.Process
import
System.Exit
import
Data.Maybe
(
mapMaybe
)
import
System.Environment
(
getEnv
)
#
if
MIN_VERSION_ghc
(
9
,
2
,
0
)
...
...
@@ -68,7 +66,6 @@ import Bag
import
DynFlags
import
HscTypes
import
InteractiveEval
import
Exception
(
gtry
)
import
Exception
hiding
(
evaluate
)
import
GhcMonad
(
liftIO
)
import
Outputable
hiding
((
<>
))
...
...
src/IHaskell/Eval/Widgets.hs
View file @
a7c7139e
...
...
@@ -16,7 +16,6 @@ import IHaskellPrelude
import
Control.Concurrent.STM
(
atomically
)
import
Control.Concurrent.STM.TChan
import
Control.Monad
(
foldM
)
import
Data.Aeson
import
Data.ByteString.Base64
as
B64
(
decodeLenient
)
import
qualified
Data.Map
as
Map
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment