yi-rope 0.5.0.0 → 0.5.0.1
raw patch · 2 files changed
+6/−2 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Yi.Rope: unCn :: ConverterName -> String
Files
- src/Yi/Rope.hs +5/−1
- yi-rope.cabal +1/−1
src/Yi/Rope.hs view
@@ -50,7 +50,7 @@ Yi.Rope.replicate, Yi.Rope.replicateChar, -- * IO- ConverterName, Yi.Rope.readFile, Yi.Rope.writeFile,+ ConverterName, unCn, Yi.Rope.readFile, Yi.Rope.writeFile, Yi.Rope.writeFileUsingText, Yi.Rope.writeFileWithConverter, -- * Escape latches to underlying content. Note that these are safe@@ -649,6 +649,10 @@ -- text. It is mostly here due to the lack of 'Binary' instance for -- 'Converter' itself. newtype ConverterName = CN String deriving (Show, Eq, Ord, Read, Typeable)++-- | Returns the underlying string.+unCn :: ConverterName -> String+unCn (CN s) = s -- | Simply 'put's/'get's the underlying 'String'. instance Binary ConverterName where
yi-rope.cabal view
@@ -1,5 +1,5 @@ name: yi-rope-version: 0.5.0.0+version: 0.5.0.1 synopsis: A rope data structure used by Yi description: A rope data structure used by Yi license: GPL-2