packages feed

numhask-prelude 0.3.3 → 0.4.0

raw patch · 3 files changed

+6/−8 lines, 3 filesdep ~numhask-preludedep ~protoludePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: numhask-prelude, protolude

API changes (from Hackage documentation)

- NumHask.Prelude: Lenient :: Leniency
- NumHask.Prelude: Strict :: Leniency
- NumHask.Prelude: [sourceColumn] :: SrcLoc -> Int
- NumHask.Prelude: [sourceFile] :: SrcLoc -> String
- NumHask.Prelude: [sourceLine] :: SrcLoc -> Int
- NumHask.Prelude: class StringConv a b
- NumHask.Prelude: data FatalError
- NumHask.Prelude: data Leniency
- NumHask.Prelude: strConv :: StringConv a b => Leniency -> a -> b
- NumHask.Prelude: toSL :: StringConv a b => a -> b
+ NumHask.Prelude: [Handler] :: forall a e. Exception e => (e -> IO a) -> Handler a
+ NumHask.Prelude: class ConvertText a b
+ NumHask.Prelude: class Monad m => MonadFail (m :: Type -> Type)
+ NumHask.Prelude: data Handler a
+ NumHask.Prelude: digitToInt :: Char -> Int
+ NumHask.Prelude: gcast :: (Typeable a, Typeable b) => c a -> Maybe (c b)
+ NumHask.Prelude: intToDigit :: Int -> Char
+ NumHask.Prelude: isAlpha :: Char -> Bool
+ NumHask.Prelude: isAlphaNum :: Char -> Bool
+ NumHask.Prelude: isAscii :: Char -> Bool
+ NumHask.Prelude: isControl :: Char -> Bool
+ NumHask.Prelude: isDigit :: Char -> Bool
+ NumHask.Prelude: isHexDigit :: Char -> Bool
+ NumHask.Prelude: isLetter :: Char -> Bool
+ NumHask.Prelude: isLower :: Char -> Bool
+ NumHask.Prelude: isPrint :: Char -> Bool
+ NumHask.Prelude: isSpace :: Char -> Bool
+ NumHask.Prelude: isUpper :: Char -> Bool
+ NumHask.Prelude: newtype FatalError
+ NumHask.Prelude: toLower :: Char -> Char
+ NumHask.Prelude: toTitle :: Char -> Char
+ NumHask.Prelude: toUpper :: Char -> Char
+ NumHask.Prelude: toUtf8 :: ConvertText a Text => a -> ByteString
+ NumHask.Prelude: toUtf8Lazy :: ConvertText a Text => a -> ByteString
+ NumHask.Prelude: typeOf :: Typeable a => a -> TypeRep
+ NumHask.Prelude: yield :: IO ()
- NumHask.Prelude: show :: (Show a, StringConv String b) => a -> b
+ NumHask.Prelude: show :: (Show a, ConvertText String b) => a -> b
- NumHask.Prelude: toS :: StringConv a b => a -> b
+ NumHask.Prelude: toS :: ConvertText a b => a -> b

Files

numhask-prelude.cabal view
@@ -1,5 +1,6 @@+cabal-version: 3.0 name: numhask-prelude-version: 0.3.3+version: 0.4.0 synopsis:   A numeric prelude description:@@ -17,13 +18,11 @@ copyright:   Tony Day license:-  BSD3+  BSD-3-Clause license-file:   LICENSE build-type:   Simple-cabal-version:-  1.18 source-repository head   type:     git@@ -48,7 +47,7 @@   build-depends:       base >=4.7 && <5     , numhask >=0.3 && <0.5-    , protolude >=0.1 && <0.3+    , protolude >=0.3 && <0.4   exposed-modules:     NumHask.Prelude     NumHask.Error@@ -68,5 +67,5 @@     UnicodeSyntax   build-depends:       doctest >=0.13 && <0.17-    , numhask-prelude >=0.3 && <0.4+    , numhask-prelude >=0.4 && <0.5   default-language: Haskell2010
src/NumHask/Error.hs view
@@ -3,7 +3,6 @@ module NumHask.Error where  import Protolude-import Protolude.Panic (panic)  impossible :: HasCallStack => Text -> a impossible = panic
src/NumHask/Prelude.hs view
@@ -39,7 +39,7 @@   ) where   #if MIN_VERSION_base(4,11,0)-import Protolude hiding (Integral(..), Rep, Semiring(..), (*), (**), (+), (-), (/), (^), (^^), abs, acos, acosh, asin, asinh, atan, atan2, atanh, ceiling, cos, cosh, exp, floor, fromInteger, fromIntegral, even, odd, infinity, log, logBase, negate, pi, product, properFraction, recip, round, sin, sinh, sqrt, sum, tan, tanh, toInteger, trans, truncate, zero, fromRational, Ratio(..), reduce, gcd, subtract, Complex(..), Sum(..), Product(..), realPart, imagPart, polar, phase, mkPolar, magnitude, cis, toRational)+import Protolude hiding (Integral(..), Rep, Semiring(..), (*), (**), (+), (-), (/), (^), (^^), abs, acos, acosh, asin, asinh, atan, atan2, atanh, ceiling, cos, cosh, exp, floor, fromInteger, fromIntegral, even, odd, infinity, log, logBase, negate, pi, product, properFraction, recip, round, sin, sinh, sqrt, sum, tan, tanh, toInteger, trans, truncate, zero, fromRational, Ratio, reduce, gcd, subtract, Complex(..), Sum(..), Product(..), realPart, imagPart, polar, phase, mkPolar, magnitude, cis, toRational) #else import Protolude hiding (Integral(..), Rep, Semiring(..), (*), (**), (+), (-), (/), (^), (^^), abs, acos, acosh, asin, asinh, atan, atan2, atanh, ceiling, cos, cosh, exp, floor, fromInteger, fromIntegral, even, odd, infinity, log, logBase, negate, pi, product, properFraction, recip, round, sin, sinh, sqrt, sum, tan, tanh, toInteger, trans, truncate, zero, fromRational, Ratio(..), reduce, gcd, subtract, Complex(..), Sum(..), Product(..), realPart, imagPart, polar, phase, mkPolar, magnitude, cis, toRational, (<>), Semigroup) import Data.Semigroup ((<>), Semigroup)