packages feed

mono-traversable-instances 0.1.0.0 → 0.1.1.0

raw patch · 3 files changed

+53/−28 lines, 3 filesdep ~basedep ~dlist

Dependency ranges changed: base, dlist

Files

ChangeLog.md view
@@ -1,3 +1,9 @@+# Changelog for mono-traversable-instances++## 0.1.1.0++* Support dlist 1.0+ ## 0.1.0.0  * Initial release
mono-traversable-instances.cabal view
@@ -1,32 +1,47 @@-name:                mono-traversable-instances-version:             0.1.0.0-synopsis:            Extra typeclass instances for mono-traversable-description:         Please see README.md-homepage:            https://github.com/snoyberg/mono-traversable#readme-license:             MIT-license-file:        LICENSE-author:              Michael Snoyman-maintainer:          michael@fpcomplete.com-category:            Data-build-type:          Simple-extra-source-files:  README.md ChangeLog.md-cabal-version:       >=1.10+cabal-version: 1.12 -library-  hs-source-dirs:      src-  exposed-modules:     Data.MonoTraversable.Instances-  build-depends:       base >= 4.7 && < 5-                     , mono-traversable >= 1.0 && < 1.1-                     , semigroupoids >=3.0-                     , comonad >= 3.0.3-                     , vector-instances-                     , dlist >= 0.6 && < 1.0-                     , dlist-instances == 0.1.*-                     , transformers-                     , semigroups-                     , containers-  default-language:    Haskell2010+-- This file has been generated from package.yaml by hpack version 0.33.0.+--+-- see: https://github.com/sol/hpack+--+-- hash: 25b05459047be752b6fdc6867bde65e9e5af9d68f1a1f25a54f473dbcfa96492 +name:           mono-traversable-instances+version:        0.1.1.0+synopsis:       Extra typeclass instances for mono-traversable+description:    See docs and README at <http://www.stackage.org/package/mono-traversable-instance>+category:       Data+homepage:       https://github.com/snoyberg/mono-traversable#readme+bug-reports:    https://github.com/snoyberg/mono-traversable/issues+author:         Michael Snoyman+maintainer:     michael@fpcomplete.com+license:        MIT+license-file:   LICENSE+build-type:     Simple+extra-source-files:+    README.md+    ChangeLog.md+ source-repository head-  type:     git+  type: git   location: https://github.com/snoyberg/mono-traversable++library+  exposed-modules:+      Data.MonoTraversable.Instances+  other-modules:+      Paths_mono_traversable_instances+  hs-source-dirs:+      src+  build-depends:+      base >=4.10 && <5+    , comonad >=3.0.3+    , containers+    , dlist >=0.6 && <1.1+    , dlist-instances ==0.1.*+    , mono-traversable >=1.0 && <1.1+    , semigroupoids >=3.0+    , semigroups+    , transformers+    , vector-instances+  default-language: Haskell2010
src/Data/MonoTraversable/Instances.hs view
@@ -66,7 +66,11 @@ instance IsSequence (DList a) where     fromList = DL.fromList     replicate = DL.replicate+#if MIN_VERSION_dlist(1,0,0)+    tailEx = DL.fromList . DL.tail+#else     tailEx = DL.tail+#endif     {-# INLINE fromList #-}     {-# INLINE replicate #-}     {-# INLINE tailEx #-}