wordchoice 0.1.2.6 → 0.1.2.7
raw patch · 3 files changed
+7/−9 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- app/Main.hs +1/−1
- src/Data/Text/WordCount.hs +2/−4
- wordchoice.cabal +4/−4
app/Main.hs view
@@ -60,7 +60,7 @@ wrapper :: ParserInfo Program wrapper = info (helper <*> versionInfo <*> program) (fullDesc- <> progDesc "Word choice is a command-line meant to help you improve your writing. Simply point it to a file containing text and it will list your most frequently used words and their frequencies."+ <> progDesc "Word choice is a command-line tool meant to help you improve your writing. Simply point it to a file containing text and it will list your most frequently used words and their frequencies." <> header "Word choice command-line utility") -- | Actual executable
src/Data/Text/WordCount.hs view
@@ -19,8 +19,7 @@ import Control.Arrow ((&&&)) import Control.Composition (on)-import Control.Lens hiding (argument,- indexed)+import Control.Lens hiding (indexed) import Data.Char import qualified Data.IntMap as IM import Data.List@@ -33,8 +32,7 @@ import Data.Text.WordCount.FileRead import Data.Tuple import Graphics.Rendering.Chart.Backend.Diagrams-import Graphics.Rendering.Chart.Easy hiding (argument,- indexed)+import Graphics.Rendering.Chart.Easy hiding (indexed) -- | Return an `IntMap` containing words indexed by their frequencies. indexed :: TL.Text -> IM.IntMap [TL.Text]
wordchoice.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: wordchoice-version: 0.1.2.6+version: 0.1.2.7 license: BSD3 license-file: LICENSE copyright: 2017,2018 Vanessa McHale@@ -23,14 +23,14 @@ library exposed-modules: Data.Text.WordCount+ hs-source-dirs: src other-modules: Data.Text.WordCount.FileRead- hs-source-dirs: src default-language: Haskell2010 default-extensions: OverloadedStrings build-depends: base >=4.8 && <5,- pandoc -any,+ pandoc >=2.0, containers -any, Glob -any, bytestring -any,@@ -47,9 +47,9 @@ executable wrd main-is: Main.hs+ hs-source-dirs: app other-modules: Paths_wordchoice- hs-source-dirs: app default-language: Haskell2010 build-depends: base -any,