diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-12-08 13:26:14 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-12-08 13:28:42 -0400 |
commit | 9d7e697474720b2c6e78fbf11066a8499fc55807 (patch) | |
tree | f2f1b6b0c29017f2fcc6cb206ffea5939d3b19c7 /Val.hs | |
parent | ad33cd0f276eb898db5287dd36bf06fd6258f911 (diff) | |
download | debug-me-9d7e697474720b2c6e78fbf11066a8499fc55807.tar.gz |
Update to lts-12.10, support ghc 8.4, and aeson 1.3.
Don't fully understand the need for the MonoLocalBinds language extension,
which was not needed before but now ghc complains if it's not included,
but I've tested it and it does work.
All the rest of the changes are straightforward AMP changes and dep
updates.
Removed fgl from stack.yaml because it seems that indirect dep no longer
needs to be specified for stack to build.
Added custom-setup stanza since stack now warns without one.
This commit was sponsored by Trenton Cronholm on Patreon.
Diffstat (limited to 'Val.hs')
-rw-r--r-- | Val.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,10 +16,11 @@ import qualified Codec.Binary.Base64 as B64 import qualified Data.Text as T import qualified Data.Text.Encoding as T import qualified Data.ByteString as B +import qualified Data.Semigroup as Sem -- | Newtype of ByteString so we can have JSON instances without orphans. newtype Val = Val { val :: B.ByteString } - deriving (Show, Generic, Eq, Monoid) + deriving (Show, Generic, Eq, Sem.Semigroup, Monoid) instance DataSize Val where dataSize (Val b) = fromIntegral (B.length b) |