mmsyn5 0.5.1.0 → 0.6.0.0
raw patch · 5 files changed
+25/−10 lines, 5 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Data/List/InnToOut/Basic.hs +8/−2
- Data/List/InnToOut/Unsafe.hs +7/−2
- LICENSE +1/−1
- mmsyn5.cabal +5/−5
ChangeLog.md view
@@ -91,3 +91,7 @@ * Fifth version revised A. Updated the dependency boundaries by the application on GitHub. +## 0.6.0.0 -- 2023-02-01++* Sixth version. Switched to NoImplicitPrelude extension. Updated the dependency boundaries.+
Data/List/InnToOut/Basic.hs view
@@ -1,18 +1,24 @@ -- | -- Module : Data.List.InnToOut.Basic--- Copyright : (c) OleksandrZhabenko 2019-2020+-- Copyright : (c) Oleksandr Zhabenko 2019-2023 -- License : MIT--- Maintainer : olexandr543@yahoo.com+-- Maintainer : oleksandr.zhabenko@yahoo.com -- -- Various additional operations on lists -- +{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_HADDOCK -show-extensions #-}+ module Data.List.InnToOut.Basic ( -- * Operations to apply a function or two different functions to an element of the outer list (some of them create inner list) mapI , mapI2 ) where++import GHC.Base+import GHC.List (concatMap) -- | Function that applies additional function @f :: a -> [a]@ to @a@ if @p :: a -> Bool@ and @p a = True@ mapI :: (a -> Bool) -> (a -> [a]) -> [a] -> [a]
Data/List/InnToOut/Unsafe.hs view
@@ -1,12 +1,14 @@ -- | -- Module : Data.List.InnToOut.Unsafe--- Copyright : (c) OleksandrZhabenko 2019-2020+-- Copyright : (c) OleksandrZhabenko 2019-2023 -- License : MIT--- Maintainer : olexandr543@yahoo.com+-- Maintainer : oleksandr.zhabenko@yahoo.com -- -- Various additional operations on lists that have additional intermediate Monads inside. -- Like the 'unsafePerformIO' function they can have unpredictable behaviour. Use them ONLY if you surely know what you are doing. --+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_HADDOCK -show-extensions #-} module Data.List.InnToOut.Unsafe (@@ -17,6 +19,9 @@ ,unsafeMapI12M ,unsafeMapI2M1 ) where++import GHC.Base+import GHC.List (concatMap) -- | Unsafe function in which the second intermediate result @c@ is in the @Monad m@. It appears if the predicate @p :: a -> Bool@ is @False@ on @a@. -- It can have unpredictable behaviour. Use it ONLY if you surely know what you are doing. It's your responsibility to check whether
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2019-2020 OleksandrZhabenko+Copyright (c) 2019-2023 Oleksandr Zhabenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
mmsyn5.cabal view
@@ -2,15 +2,15 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: mmsyn5-version: 0.5.1.0+version: 0.6.0.0 synopsis: Various additional operations on lists (some with intermediate Monads) description: A small library to deal with a little bit more complex operations on lists than Data.List module homepage: https://hackage.haskell.org/package/mmsyn5 license: MIT license-file: LICENSE author: OleksandrZhabenko-maintainer: olexandr543@yahoo.com--- copyright:+maintainer: oleksandr.zhabenko@yahoo.com+copyright: Oleksandr Zhabenko category: Data build-type: Simple extra-source-files: ChangeLog.md, Setup.hs, README.markdown@@ -19,7 +19,7 @@ library exposed-modules: Data.List.InnToOut.Basic, Data.List.InnToOut.Unsafe -- other-modules:- -- other-extensions:- build-depends: base >=4.7 && <5+ other-extensions: NoImplicitPrelude+ build-depends: base >=4.13 && <5 -- hs-source-dirs: default-language: Haskell2010