Include from non-GHC specific imports.
Add more exports from applicative and monad.master
parent
f7cc39ce99
commit
a8c5b43dc8
|
@ -1,11 +1,13 @@
|
|||
-- This file has been generated from package.yaml by hpack version 0.21.2.
|
||||
cabal-version: 1.12
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.31.2.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: a9b86e4681094ba732bd53deeeed47aad77606ad9fce8265f9917349d9aaa833
|
||||
-- hash: 279baf8a9c78e19c42e376ae268fa1e0869c2f0f3a7cf2c091f4d286fcaadcb6
|
||||
|
||||
name: postlude
|
||||
version: 0.1.0.9
|
||||
version: 0.1.1.0
|
||||
description: Please see the README on Github at <https://github.com/jrpotter/postlude#readme>
|
||||
homepage: https://github.com/jrpotter/postlude#readme
|
||||
bug-reports: https://github.com/jrpotter/postlude/issues
|
||||
|
@ -15,8 +17,6 @@ copyright: 2018 Joshua Potter
|
|||
license: BSD3
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.10
|
||||
|
||||
extra-source-files:
|
||||
README.md
|
||||
|
||||
|
|
|
@ -8,7 +8,9 @@
|
|||
-- It is generally expected one will add the -XNoImplicitPrelude pragma to the
|
||||
-- file Postlude is being used in, and to import Postlude without any
|
||||
-- qualification.
|
||||
module Postlude (module X) where
|
||||
module Postlude
|
||||
( module X
|
||||
) where
|
||||
|
||||
import Prelude as X
|
||||
( (^)
|
||||
|
@ -17,8 +19,15 @@ import Prelude as X
|
|||
)
|
||||
|
||||
import Control.Applicative as X
|
||||
( Applicative, (*>), (<*), (<*>), pure
|
||||
( Alternative, (<|>), empty, many, some
|
||||
, Applicative, (*>), (<*), (<*>), liftA2, pure
|
||||
, Const, getConst
|
||||
, (<$)
|
||||
, (<$>)
|
||||
, (<**>)
|
||||
, liftA
|
||||
, liftA3
|
||||
, optional
|
||||
)
|
||||
|
||||
import Control.Arrow as X
|
||||
|
@ -36,7 +45,26 @@ import Control.Arrow as X
|
|||
import Control.Monad as X
|
||||
( Monad, (>>=), (>>), return, fail
|
||||
, MonadPlus, mplus, mzero
|
||||
, (<=<)
|
||||
, (=<<)
|
||||
, (>=>)
|
||||
, ap
|
||||
, forM
|
||||
, forM_
|
||||
, forever
|
||||
, guard
|
||||
, liftM
|
||||
, liftM2
|
||||
, liftM3
|
||||
, liftM4
|
||||
, liftM5
|
||||
, mapM
|
||||
, mapM_
|
||||
, sequence
|
||||
, sequence_
|
||||
, unless
|
||||
, void
|
||||
, when
|
||||
)
|
||||
|
||||
import Control.Monad.Catch as X
|
||||
|
@ -191,6 +219,14 @@ import Data.Monoid as X
|
|||
( Monoid, mappend, mconcat, mempty
|
||||
)
|
||||
|
||||
import Data.Ratio as X
|
||||
( Ratio, (%), denominator, numerator
|
||||
)
|
||||
|
||||
import Data.Semigroup as X
|
||||
( Semigroup, (<>), sconcat, stimes
|
||||
)
|
||||
|
||||
import Data.Ord as X
|
||||
( Ord, (<), (<=), (>), (>=), compare, max, min
|
||||
, Ordering, Ordering(EQ), Ordering(GT), Ordering(LT)
|
||||
|
@ -212,7 +248,14 @@ import Data.Word as X
|
|||
, Word64
|
||||
)
|
||||
|
||||
import GHC.Enum as X
|
||||
import Numeric as X
|
||||
( expm1
|
||||
, log1mexp
|
||||
, log1p
|
||||
, log1pexp
|
||||
)
|
||||
|
||||
import Prelude as X -- GHC.Enum
|
||||
( Bounded, maxBound, minBound
|
||||
, Enum
|
||||
, enumFrom
|
||||
|
@ -225,12 +268,12 @@ import GHC.Enum as X
|
|||
, toEnum
|
||||
)
|
||||
|
||||
import GHC.Err as X
|
||||
import Prelude as X -- GHC.Err
|
||||
( error
|
||||
, undefined
|
||||
)
|
||||
|
||||
import GHC.Float as X
|
||||
import Prelude as X -- GHC.Float
|
||||
( Double
|
||||
, Float
|
||||
, Floating
|
||||
|
@ -244,11 +287,7 @@ import GHC.Float as X
|
|||
, cos
|
||||
, cosh
|
||||
, exp
|
||||
, expm1
|
||||
, log
|
||||
, log1mexp
|
||||
, log1p
|
||||
, log1pexp
|
||||
, logBase
|
||||
, pi
|
||||
, sin
|
||||
|
@ -273,28 +312,19 @@ import GHC.Float as X
|
|||
, significand
|
||||
)
|
||||
|
||||
import GHC.Num as X
|
||||
import Prelude as X -- GHC.Num
|
||||
( Num, (*), (+), (-), abs, fromInteger, negate, signum
|
||||
, Integer
|
||||
)
|
||||
|
||||
import GHC.Read as X
|
||||
( Read, readList, readListPrec, readPrec, readsPrec
|
||||
)
|
||||
|
||||
import GHC.Real as X
|
||||
import Prelude as X -- GHC.Real
|
||||
( Fractional, (/), fromRational, recip
|
||||
, Integral, div, divMod, mod, quot, quotRem, rem, toInteger
|
||||
, Ratio, (%), denominator, numerator
|
||||
, Rational
|
||||
, Real, toRational
|
||||
, RealFrac, ceiling, floor, properFraction, round, truncate
|
||||
)
|
||||
|
||||
import GHC.Show as X
|
||||
( Show, show, showList, showsPrec
|
||||
)
|
||||
|
||||
import System.Environment as X
|
||||
( getArgs
|
||||
, getEnv
|
||||
|
@ -324,5 +354,10 @@ import System.IO as X
|
|||
)
|
||||
|
||||
import Text.Read as X
|
||||
( read
|
||||
( Read, readList, readListPrec, readPrec, readsPrec
|
||||
, read
|
||||
)
|
||||
|
||||
import Text.Show as X
|
||||
( Show, show, showList, showsPrec
|
||||
)
|
||||
|
|
|
@ -1,21 +1,23 @@
|
|||
{-# LANGUAGE NoImplicitPrelude #-}
|
||||
|
||||
module Postlude.Lazy (module Lazy) where
|
||||
module Postlude.Lazy
|
||||
( module L
|
||||
) where
|
||||
|
||||
import Control.Monad.Trans.State as Lazy
|
||||
import Control.Monad.Trans.State as L
|
||||
( State
|
||||
, StateT, StateT(StateT), runStateT
|
||||
)
|
||||
|
||||
import Control.Monad.Trans.Writer as Lazy
|
||||
import Control.Monad.Trans.Writer as L
|
||||
( Writer
|
||||
, WriterT, WriterT(WriterT), runWriterT
|
||||
)
|
||||
|
||||
import Data.ByteString.Lazy as Lazy
|
||||
import Data.ByteString.Lazy as L
|
||||
( ByteString
|
||||
)
|
||||
|
||||
import Data.Text.Lazy as Lazy
|
||||
import Data.Text.Lazy as L
|
||||
( Text
|
||||
)
|
||||
|
|
|
@ -1,21 +1,23 @@
|
|||
{-# LANGUAGE NoImplicitPrelude #-}
|
||||
|
||||
module Postlude.Strict (module Strict) where
|
||||
module Postlude.Strict
|
||||
( module S
|
||||
) where
|
||||
|
||||
import Control.Monad.Trans.State.Strict as Strict
|
||||
import Control.Monad.Trans.State.Strict as S
|
||||
( State
|
||||
, StateT, StateT(StateT), runStateT
|
||||
)
|
||||
|
||||
import Control.Monad.Trans.Writer.Strict as Strict
|
||||
import Control.Monad.Trans.Writer.Strict as S
|
||||
( Writer
|
||||
, WriterT, WriterT(WriterT), runWriterT
|
||||
)
|
||||
|
||||
import Data.ByteString as Strict
|
||||
import Data.ByteString as S
|
||||
( ByteString
|
||||
)
|
||||
|
||||
import Data.Text as Strict
|
||||
import Data.Text as S
|
||||
( Text
|
||||
)
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
# This file was autogenerated by Stack.
|
||||
# You should not edit this file by hand.
|
||||
# For more information, please see the documentation at:
|
||||
# https://docs.haskellstack.org/en/stable/lock_files
|
||||
|
||||
packages: []
|
||||
snapshots:
|
||||
- completed:
|
||||
size: 188042
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2018/3/14.yaml
|
||||
sha256: 2f1331f747e54e58abbc85754bacaf8dbd5a54444ee87d5757a2bafc0a4afa2f
|
||||
original: nightly-2018-03-14
|
Loading…
Reference in New Issue