Skip to content

Commit 53c8027

Browse files
authored
fix a bit of syntax (#74)
1 parent 7838d65 commit 53c8027

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

calamity/Calamity/Internal/Utils.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ _ .?= Nothing = Nothing
184184
k .= v = Just (k Aeson..= v)
185185

186186
class CalamityToJSON' a where
187-
toPairs :: Aeson.KeyValue kv => a -> [Maybe kv]
187+
toPairs :: Aeson.KeyValue v kv => a -> [Maybe kv]
188188
#else
189189
(.?=) :: (Aeson.ToJSON v, Aeson.KeyValue kv) => Aeson.Key -> Maybe v -> Maybe kv
190190
k .?= Just v = Just (k Aeson..= v)

calamity/calamity.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.0
22
name: calamity
3-
version: 0.12.0.0
3+
version: 0.12.1.0
44
synopsis: A library for writing discord bots in haskell
55
description:
66
Please see the README on GitHub at <https://github.com/simmsb/calamity#readme>

0 commit comments

Comments
 (0)