calamity 0.1.19.1 → 0.1.19.2
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- calamity.cabal +2/−2
- src/Calamity/Commands/Parser.hs +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for Calamity +## 0.1.19.2++* Fix broken `Float` parsing.+ ## 0.1.19.1 * Fixed another missing activity type
calamity.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 3e1856812f1894e8627674660a1357adcdc7189d2964b0ed7f9b55c7087a4c68+-- hash: 16ef7c5601edfc65ae3b7b277d4c413b36765b77311b207855e4975c892dd8cb name: calamity-version: 0.1.19.1+version: 0.1.19.2 synopsis: A library for writing discord bots in haskell description: Please see the README on GitHub at <https://github.com/nitros12/calamity#readme> category: Network, Web
src/Calamity/Commands/Parser.hs view
@@ -113,7 +113,7 @@ parse = parseMP (parserName @Word) decimal instance Parser Float r where- parse = parseMP (parserName @Float) (signed mempty float)+ parse = parseMP (parserName @Float) (signed mempty (try float <|> decimal)) instance Parser a r => Parser (Maybe a) r where type ParserResult (Maybe a) = Maybe (ParserResult a)