packages feed

text-manipulate 0.1.2.1 → 0.1.3

raw patch · 7 files changed

+17/−17 lines, 7 files

Files

bench/Main.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-}  -- Module      : Main--- Copyright   : (c) 2014 Brendan Hay <brendan.g.hay@gmail.com>+-- Copyright   : (c) 2014-2015 Brendan Hay <brendan.g.hay@gmail.com> -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
src/Data/Text/Lazy/Manipulate.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE ViewPatterns      #-}  -- Module      : Data.Text.Lazy.Manipulate--- Copyright   : (c) 2014 Brendan Hay <brendan.g.hay@gmail.com>+-- Copyright   : (c) 2014-2015 Brendan Hay <brendan.g.hay@gmail.com> -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or@@ -91,7 +91,7 @@ -- $unicode -- While this library supports Unicode in a similar fashion to the -- underlying <http://hackage.haskell.org/package/text text> library,--- more Unicode specific handling of word boundaries can be found in the+-- more explicit Unicode specific handling of word boundaries can be found in the -- <http://hackage.haskell.org/package/text-icu text-icu> library.  -- $fusion
src/Data/Text/Manipulate.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE ViewPatterns      #-}  -- Module      : Data.Text.Manipulate--- Copyright   : (c) 2014 Brendan Hay <brendan.g.hay@gmail.com>+-- Copyright   : (c) 2014-2015 Brendan Hay <brendan.g.hay@gmail.com> -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
src/Data/Text/Manipulate/Internal/Fusion.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE RankNTypes   #-}  -- Module      : Data.Text.Manipulate.Internal.Fusion--- Copyright   : (c) 2014 Brendan Hay <brendan.g.hay@gmail.com>+-- Copyright   : (c) 2014-2015 Brendan Hay <brendan.g.hay@gmail.com> -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
src/Data/Text/Manipulate/Internal/Types.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE ViewPatterns      #-}  -- Module      : Data.Text.Manipulate.Internal.Types--- Copyright   : (c) 2014 Brendan Hay <brendan.g.hay@gmail.com>+-- Copyright   : (c) 2014-2015 Brendan Hay <brendan.g.hay@gmail.com> -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or
test/Main.hs view
@@ -1,9 +1,9 @@-{-# LANGUAGE OverloadedStrings          #-}+{-# LANGUAGE OverloadedStrings #-}  {-# OPTIONS_GHC -fno-warn-type-defaults #-}  -- Module      : Main--- Copyright   : (c) 2014 Brendan Hay <brendan.g.hay@gmail.com>+-- Copyright   : (c) 2014-2015 Brendan Hay <brendan.g.hay@gmail.com> -- License     : This Source Code Form is subject to the terms of --               the Mozilla Public License, v. 2.0. --               A copy of the MPL can be found in the LICENSE file or@@ -14,10 +14,10 @@  module Main (main) where -import Data.Text        (Text)-import Data.Text.Case-import Test.Tasty-import Test.Tasty.HUnit+import           Data.Text            (Text)+import           Data.Text.Manipulate+import           Test.Tasty+import           Test.Tasty.HUnit  main :: IO () main = defaultMain $ testGroup "tests"@@ -206,7 +206,7 @@         , "1 Mixed String AOK"         , "A Double Stop Phrase"         , "HTML5"-        , "ΕίναιΥπάρχουν πολλές Αντίθετα"+        , "Είναι Υπάρχουν Πολλές Αντίθετα"         , "Je Obecně Úvodní Španěl"         ]     ]@@ -214,7 +214,7 @@ exampleGroup :: (Show a, Eq a) => TestName -> (Text -> a) -> [a] -> TestTree exampleGroup n f = testGroup n . zipWith run reference   where-    run (c, x) y = testCase c (y @=? f x)+    run (c, x) y = testCase c (f x @=? y)      reference =         [ ("Empty",       "")
text-manipulate.cabal view
@@ -1,12 +1,12 @@ name:                  text-manipulate-version:               0.1.2.1+version:               0.1.3 synopsis:              Case conversion, word boundary manipulation, and textual subjugation. homepage:              https://github.com/brendanhay/text-manipulate license:               OtherLicense license-file:          LICENSE author:                Brendan Hay-maintainer:            brendan.g.hay@gmail.com-copyright:             Copyright (c) 2014 Brendan Hay+maintainer:            Brendan Hay <brendan.g.hay@gmail.com>+copyright:             Copyright (c) 2014-2015 Brendan Hay category:              Data, Text build-type:            Simple extra-source-files:    README.md