packages feed

blunt 0.0.17 → 1.0.0

raw patch · 4 files changed

+9/−8 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Blunt: conversionInput :: Conversion -> String
- Blunt: Conversion :: String -> [String] -> Maybe String -> Conversion
+ Blunt: Conversion :: [String] -> Maybe String -> Conversion

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Change log +## v1.0.0 (2015-04-11)++-   Removed input from WebSocket response.+ ## v0.0.17 (2015-04-11)  -   Added dependency on Hackage version of pointfree package.
README.md view
@@ -24,7 +24,7 @@  ``` sh $ cabal update-$ cabal install 'blunt ==0.0.*'+$ cabal install 'blunt ==1.*' ```  ## Use
blunt.cabal view
@@ -1,5 +1,5 @@ name: blunt-version: 0.0.17+version: 1.0.0 cabal-version: >=1.10 build-type: Simple license: MIT
library/Blunt.hs view
@@ -51,8 +51,7 @@     pf <- safePointfree input     let pl = safePointful input     return Conversion-        { conversionInput = input-        , conversionPointfree = pf+        { conversionPointfree = pf         , conversionPointful = pl         } @@ -72,14 +71,12 @@             else Just output  data Conversion = Conversion-    { conversionInput :: String-    , conversionPointfree :: [String]+    { conversionPointfree :: [String]     , conversionPointful :: Maybe String     } deriving (Read, Show)  instance ToJSON Conversion where     toJSON result = object-        [ "input" .= conversionInput result-        , "pointfree" .= conversionPointfree result+        [ "pointfree" .= conversionPointfree result         , "pointful" .= conversionPointful result         ]