pregame 0.1.4.3 → 1.0.0.0
raw patch · 3 files changed
+79/−180 lines, 3 filesdep +aesondep +arraydep +deepseqdep −cmdargsdep −paralleldep −transformersdep ~base
Dependencies added: aeson, array, deepseq, either, ghc-prim, integer-gmp, text-conversions, time, unordered-containers
Dependencies removed: cmdargs, parallel, transformers
Dependency ranges changed: base
Files
- LICENSE +1/−2
- pregame.cabal +55/−34
- src/Pregame.hs +23/−144
LICENSE view
@@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014 Joe Vargas+Copyright (c) 2014-2016 Joe Vargas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal@@ -19,4 +19,3 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-
pregame.cabal view
@@ -1,41 +1,62 @@-name: pregame-version: 0.1.4.3-synopsis: Prelude counterpart-description: Excessive Prelude styled imports.-homepage: https://github.com/jxv/pregame-license: MIT-license-file: LICENSE-author: Joe Vargas-maintainer: https://github.com/jxv--- copyright: -category: Prelude-build-type: Simple--- extra-source-files: -cabal-version: >=1.18+name:+ pregame+version:+ 1.0.0.0+synopsis:+ Prelude for applications+description:+ * Re-exports subsections of common and/or practical libraries+ * Fixing Haskell's historical baggage is out of scope+homepage:+ https://github.com/jxv/pregame+license:+ MIT+license-file:+ LICENSE+author:+ Joe Vargas+maintainer:+ https://github.com/jxv+copyright:+ 2014-2016+category:+ Prelude+build-type:+ Simple+cabal-version:+ >=1.18 source-repository head type: git location: https://github.com/jxv/pregame.git library- exposed-modules: Pregame- default-extensions: NoImplicitPrelude- -- other-modules: - -- other-extensions: + exposed-modules:+ Pregame+ default-extensions:+ NoImplicitPrelude build-depends:- base >=4.7 && <4.8,- bytestring,- containers,- cmdargs,- data-default,- mtl,- lens,- parallel,- safe,- stm,- transformers,- text,- tuple,- vector- hs-source-dirs: src- default-language: Haskell2010+ aeson+ , array+ , base >=4.7 && <5.0+ , bytestring+ , containers+ , data-default+ , deepseq+ , either+ , ghc-prim+ , integer-gmp+ , lens+ , mtl+ , safe+ , stm+ , text+ , text-conversions+ , time+ , tuple+ , unordered-containers+ , vector+ hs-source-dirs:+ src+ default-language:+ Haskell2010
src/Pregame.hs view
@@ -1,145 +1,24 @@-{-# LANGUAGE BangPatterns #-}-module Pregame - ( module Control.Applicative - , module Control.Concurrent - , module Control.Concurrent.Chan - , module Control.Concurrent.STM - , module Control.Exception - , module Control.Parallel - , module Control.Parallel.Strategies - , module Control.Monad- , module Control.Monad.IO.Class - , module Control.Lens - , module Data.Char- , module Data.Default - , module Data.Functor - , module Data.Either - , module Data.Function - , module Data.Maybe - , module Data.Monoid- , module Data.List- , module Data.String- , module Data.Tuple - , module Data.Tuple.All- , module GHC.Base- , module GHC.Enum - , module GHC.Num - , module GHC.Real - , module GHC.Float - , module GHC.Show - , module System.IO - , module System.IO.Error - , module Safe - , module Safe.Exact - , module System.Console.CmdArgs- , Cont, ContT- --- , Error, ErrorT- , IdentityT- , State, StateT- , ListT- , MaybeT- , Reader, ReaderT- , RWS, RWST- , Writer, WriterT- , Map- , Seq- , Set- , Text- , Tree(..), Forest(..)- , ByteString- , Vector- --- , ($!)- , fi- , io- , done- , eq- , ne- , lt- , lte- , gt- , gte- ) where--import Control.Applicative -import Control.Concurrent -import Control.Concurrent.Chan -import Control.Concurrent.STM -import Control.Exception -import Control.Parallel -import Control.Parallel.Strategies -import Control.Monad-import Control.Monad.IO.Class -import Control.Lens -import Data.Char-import Data.Default-import Data.Functor -import Data.Either -import Data.Function -import Data.Maybe -import Data.Monoid-import Data.List-import Data.String-import Data.Tuple -import Data.Tuple.All hiding (only)-import GHC.Base hiding (coerce, lazy, Any)-import GHC.Enum -import GHC.Num -import GHC.Real -import GHC.Float -import GHC.Show -import System.IO -import System.IO.Error -import Safe hiding (at)-import Safe.Exact-import System.Console.CmdArgs hiding (Default(..), enum, (+=))--import Control.Monad.Trans.Cont (Cont, ContT)-import Control.Monad.Trans.Error (Error, ErrorT)-import Control.Monad.Trans.Identity (IdentityT)-import Control.Monad.Trans.State (State, StateT)-import Control.Monad.Trans.List (ListT)-import Control.Monad.Trans.Maybe (MaybeT)-import Control.Monad.Trans.Reader (Reader, ReaderT)-import Control.Monad.Trans.RWS (RWS, RWST)-import Control.Monad.Trans.Writer (Writer, WriterT)-import Data.Map (Map)-import Data.Sequence (Seq)-import Data.Set (Set)-import Data.Text (Text)-import Data.Tree (Tree(..), Forest(..))-import Data.ByteString (ByteString)-import Data.Vector (Vector)---infixr 0 $!-($!) :: (a -> b) -> a -> b-f $! x = let !vx = x in f vx--done :: Monad m => m ()-done = return ()--fi :: (Num b, Integral a) => a -> b-fi = fromIntegral--io :: MonadIO m => IO a -> m a-io = liftIO--eq :: Eq a => a -> a -> Bool-eq = (==)--ne :: Eq a => a -> a -> Bool-ne = (/=)--lt :: Ord a => a -> a -> Bool-lt = (<)--lte :: Ord a => a -> a -> Bool-lte = (<=)--gt :: Ord a => a -> a -> Bool-gt = (>)+module Pregame+ ( module X+ ) where -gte :: Ord a => a -> a -> Bool-gte = (>=)+import Pregame.Aeson as X+import Pregame.Array as X+import Pregame.Base as X+import Pregame.Bytestring as X+import Pregame.Containers as X+import Pregame.DataDefault as X+import Pregame.Deepseq as X+import Pregame.Either as X+import Pregame.GhcPrim as X+import Pregame.IntegerGmp as X+import Pregame.Lens as X+import Pregame.Mtl as X+import Pregame.Safe as X+import Pregame.Stm as X+import Pregame.Text as X+import Pregame.TextConversions as X+import Pregame.Time as X+import Pregame.Tuple as X+import Pregame.UnorderedContainers as X+import Pregame.Vector as X