Skip to content

Instantly share code, notes, and snippets.

@sjakobi
Last active May 18, 2016 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjakobi/1b7d815a8833b563aa5a3d0c0e515721 to your computer and use it in GitHub Desktop.
Save sjakobi/1b7d815a8833b563aa5a3d0c0e515721 to your computer and use it in GitHub Desktop.
Modules imported by stack by number of modules
~/src/stack $ git grep -h "^import" src | grep -v Stack | sed 's/qualified//' | sed 's/import *//' | sed 's/".*" *//' | cut -d' ' -f1 | sort | uniq -c | sort -n -r
113 Data.Text
56 Data.Set
55 Path
55 Control.Monad.Catch
52 Control.Monad.Logger
51 Prelude
50 Data.Monoid
50 Control.Monad
48 Data.Map
45 Data.Maybe
45 Control.Monad.IO.Class
40 Control.Applicative
37 Data.Map.Strict
35 Path.IO
35 Data.List
33 Control.Monad.Reader
32 Control.Exception
30 System.FilePath
25 Data.Typeable
23 Network.HTTP.Client.Conduit
23 Data.Text.Encoding
23 Data.ByteString
23 Control.Monad.Trans.Control
22 Data.Foldable
21 GHC.Generics
20 Data.Aeson.Extended
19 System.Directory
18 System.Process.Read
18 Distribution.System
17 System.IO
16 Path.Extra
15 System.Environment
15 Distribution.Text
15 Data.ByteString.Lazy
15 Data.ByteString.Char8
14 Data.List.NonEmpty
14 Data.Binary.VersionTagged
13 Data.Traversable
13 Data.Either
13 Data.Char
13 Data.Attoparsec.Text
12 Distribution.Version
12 Distribution.PackageDescription
12 Data.Function
12 Data.Conduit
12 Control.Exception.Enclosed
12 Control.Arrow
11 Test.Hspec
11 System.Exit
10 Data.Yaml
10 Data.Text.Encoding.Error
10 Data.Conduit.Binary
10 Control.Monad.Trans.Resource
10 Control.Exception.Lifted
9 System.Process.Run
9 Generics.Deriving.Monoid
9 Distribution.Package
9 Data.Monoid.Extra
9 Data.Maybe.Extra
9 Data.Conduit.List
8 Paths_stack
8 Options.Applicative
8 Language.Haskell.TH
8 Data.List.Extra
8 Data.IORef
8 Data.Hashable
8 Data.Data
8 Data.Aeson
8 Control.DeepSeq
7 System.Process
7 Network.HTTP.Client
7 Data.Text.IO
7 Data.HashSet
7 Data.HashMap.Strict
7 Data.Binary
6 Network.HTTP.Download
6 Crypto.Hash
5 System.Process.Log
5 System.IO.Error
5 Prelude.Compat
5 Network.HTTP.Conduit
5 Data.Version
5 Data.Time.Clock
5 Data.Text.Lazy
5 Data.String
5 Data.Attoparsec.Args
5 Control.Monad.Trans.Unlift
5 Codec.Archive.Tar
4 System.PosixCompat.Files
4 System.IO.Temp
4 Safe
4 Options.Applicative.Types
4 Network.HTTP.Types
4 Lens.Micro
4 Distribution.ModuleName
4 Data.Time
4 Data.Streaming.Process
4 Data.IntMap
4 Data.Conduit.Text
4 Data.ByteString.Builder
4 Data.Aeson.Types
4 Control.Concurrent.STM
4 Control.Concurrent.Async
4 Codec.Compression.GZip
3 Text.Printf
3 Path.Find
3 Options.Applicative.Args
3 Network.HTTP.Download.Verified
3 Language.Haskell.TH.Syntax
3 Data.Word
3 Data.Text.Read
3 Data.Text.Lazy.Encoding
3 Data.Text.Binary
3 Crypto.Hash.SHA256
3 Control.Concurrent.MVar.Lifted
2 Text.Hastache
2 Test.Hspec.QuickCheck
2 System.PosixCompat.User
2 System.FileLock
2 Path.Internal
2 Options.Applicative.Builder.Extra
2 Distribution.PackageDescription.Parse
2 Data.Vector.Unboxed
2 Data.Vector
2 Data.Tuple
2 Data.Time.Calendar
2 Data.Ord
2 Data.List.Split
2 Data.IORef.RunOnce
2 Data.Int
2 Data.Conduit.Process
2 Data.Conduit.Attoparsec
2 Data.ByteString.Lazy.Char8
2 Data.ByteString.Base64.URL
2 Data.ByteString.Base16
2 Data.Binary.Tagged
2 Data.Attoparsec.Interpreter
2 Data.Attoparsec.Combinators
2 Crypto.Hash.Conduit
2 Control.Retry
2 Control.Monad.Trans.Writer.Strict
2 Control.Monad.State.Strict
2 Control.Monad.RWS.Strict
2 Control.Monad.Extra
2 Control.Concurrent.MVar
2 Control.Concurrent.Execute
2 Codec.Archive.Tar.Entry
1 Web.Browser
1 Trace.Hpc.Tix
1 Text.Regex.Applicative.Text
1 Text.Read
1 Text.ProjectTemplate
1 Text.PrettyPrint
1 Text.Hastache.Context
1 Text.EditDistance
1 Test.QuickCheck
1 System.Win32.Console
1 System.Process.PagerEditor
1 System.Process.Internals
1 System.Posix.User
1 System.Posix.Signals
1 System.Posix.Process
1 System.Posix.Files
1 System.PosixCompat.Types
1 System.PosixCompat
1 System.Log.FastLogger
1 System.Locale
1 System.IO.Unsafe
1 System.Info
1 System.FSNotify
1 System.Console.ANSI
1 Spec
1 Options.Applicative.Simple
1 Options.Applicative.Help
1 Options.Applicative.Complicated
1 Options.Applicative.Builder.Internal
1 Network.HTTP.Types.Status
1 Network.HTTP.Types.Header
1 Network.HTTP.Client.TLS
1 Network.HTTP.Client.MultipartFormData
1 Hpack.Config
1 Hpack
1 GHC.IO.Handle
1 GHC.IO.Exception
1 GHC.IO.Encoding
1 GHC.Foreign
1 GHC.Exts
1 GHC.Conc
1 Distribution.Version.Extra
1 Distribution.Verbosity
1 Distribution.Simple.Utils
1 Distribution.ParseUtils
1 Distribution.PackageDescription.PrettyPrint
1 Distribution.PackageDescription.Check
1 Distribution.InstalledPackageInfo
1 Distribution.Compiler
1 Development.GitRev
1 Data.Vector.Binary
1 Data.Time.Clock.POSIX
1 Data.Text.Unsafe
1 Data.List.Compat
1 Data.Git.Storage.Object
1 Data.Git.Storage
1 Data.Git.Ref
1 Data.Git
1 Data.Functor.Identity
1 Data.Conduit.Zlib
1 Data.Conduit.Lift
1 Data.ByteString.Base64
1 Data.Byteable
1 Data.Bool
1 Data.Binary.Get
1 Database.Persist.TH
1 Database.Persist.Sqlite
1 Database.Persist
1 Data.Aeson.Parser
1 Crypto.Hash.SHA1
1 Control.Monad.Writer
1 Control.Monad.Trans.Writer
1 Control.Monad.Trans.Reader
1 Control.Monad.Trans.Either
1 Control.Monad.Trans.Class
1 Control.Monad.Trans
1 Control.Monad.State
1 Control.Monad.Base
1 Control.Exception.Base
1 Control.Error.Safe
1 Control.Concurrent
1 Codec.Archive.Zip
1 Codec.Archive.Tar.Check
1 Blaze.ByteString.Builder.Char.Utf8
1 Blaze.ByteString.Builder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment