rope 0.6.1.1 → 0.6.2
raw patch · 3 files changed
+5/−8 lines, 3 filesdep ~mtlPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: mtl
API changes (from Hackage documentation)
- Data.Rope: class Breakable a
+ Data.Rope: class Breakable a where span f = break (not . f) takeWhile f = fst . span f dropWhile f = snd . span f
- Data.Rope: class Packable c
+ Data.Rope: class Packable c where pack = snoc mempty snoc m = mappend m . pack cons = mappend . pack
- Data.Rope: class Unpackable a
+ Data.Rope: class Unpackable a where head = head . unpack
- Data.Rope.Annotated: class BreakableAnn f
+ Data.Rope.Annotated: class BreakableAnn f where takeAnn n r = fst . splitAtAnn n r dropAnn n r = snd . splitAtAnn n r
- Data.Rope.Annotation: class BreakableAnn f
+ Data.Rope.Annotation: class BreakableAnn f where takeAnn n r = fst . splitAtAnn n r dropAnn n r = snd . splitAtAnn n r
- Data.Rope.Branded.Comonad: class Functor w => Comonad w
+ Data.Rope.Branded.Comonad: class Functor w => Comonad w where duplicate = extend id extend f = fmap f . duplicate
- Data.Rope.Internal: class Breakable a
+ Data.Rope.Internal: class Breakable a where span f = break (not . f) takeWhile f = fst . span f dropWhile f = snd . span f
- Data.Rope.Internal: class Packable c
+ Data.Rope.Internal: class Packable c where pack = snoc mempty snoc m = mappend m . pack cons = mappend . pack
- Data.Rope.Internal: class Unpackable a
+ Data.Rope.Internal: class Unpackable a where head = head . unpack
- Data.Rope.Unsafe: class BreakableAnn f
+ Data.Rope.Unsafe: class BreakableAnn f where takeAnn n r = fst . splitAtAnn n r dropAnn n r = snd . splitAtAnn n r
- Data.Rope.Unsafe: class Packable c
+ Data.Rope.Unsafe: class Packable c where pack = snoc mempty snoc m = mappend m . pack cons = mappend . pack
Files
- Data/Rope/Annotation/Product.hs +0/−2
- Data/Rope/Body.hs +0/−1
- rope.cabal +5/−5
Data/Rope/Annotation/Product.hs view
@@ -9,9 +9,7 @@ import Data.Monoid (mappend) import Data.Foldable (Foldable, foldMap)-import qualified Data.Foldable import Data.Traversable (Traversable(traverse))- import Data.Rope.Annotation infixr 5 :*:
Data/Rope/Body.hs view
@@ -12,7 +12,6 @@ import Prelude hiding (null, length) import Data.FingerTree (FingerTree,(<|),(|>),Measured,measure,empty, singleton) import Data.Data-import Data.Typeable import Data.Monoid import Data.ByteString (ByteString, null, length)
rope.cabal view
@@ -1,5 +1,5 @@ name: rope-version: 0.6.1.1+version: 0.6.2 license: BSD3 license-file: LICENSE author: Edward A. Kmett@@ -15,12 +15,12 @@ Tested-With: GHC==6.10.4 library- build-depends: - base >= 4 && < 6, + build-depends:+ base >= 4 && < 6, bytestring >= 0.9.1.4 && < 0.10, fingertree >= 0.0.1 && < 0.1, utf8-string >= 0.3.6 && < 0.4,- mtl >= 2.0.1 && < 2.1+ mtl >= 2.0.1 && < 2.2 exposed-modules: Data.Rope@@ -33,5 +33,5 @@ Data.Rope.Unsafe Data.Rope.Body Data.Rope.Internal- + ghc-options: -Wall