packages feed

constraints-emerge 0.1 → 0.1.1

raw patch · 3 files changed

+12/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for constraints-emerge +## 0.1.1 -- 2018-04-18++* Fix some error messages.+ ## 0.1 -- 2018-04-18  * First version. Released on an unsuspecting world.
Data/Constraint/Emerge/Plugin.hs view
@@ -147,9 +147,10 @@   [ ppr (tcl_loc $ ctl_env loc)   , hang empty 2 $ (char '•') <+>     (-      hang empty 2 $ text "Polymorphic type variables bound in the implicit constraint of 'JustDoIt'" $$ hang empty 2 (ppr (ctl_origin loc))+      hang empty 2 $ text "Polymorphic type variables bound in the implicit constraint of 'Emerge'"+                  $$ hang empty 2 (ppr (ctl_origin loc))     )-  , hang empty 2 $ (char '•') <+> text "Probable fix: add an explicit 'JustDoIt ("+  , hang empty 2 $ (char '•') <+> text "Probable fix: add an explicit 'Emerge ("       <> ppr c       <+> foldl (<+>) empty (fmap ppr $ ts )       <> text ")' constraint to the type signature"@@ -161,8 +162,10 @@   [ ppr (tcl_loc $ ctl_env loc)   , hang empty 2 $ (char '•') <+>     (-      hang empty 2 $ text "Polymorphic constraint bound in the implicit constraint of 'JustDoIt'" $$ hang empty 2 (ppr (ctl_origin loc))+      hang empty 2 $ text "Polymorphic constraint bound in the implicit constraint of 'Emerge'"+                  $$ hang empty 2 (ppr (ctl_origin loc))     )-  , hang empty 2 $ (char '•') <+> text "Probable fix: add an explicit 'JustDoIt c'"+  , hang empty 2 $ (char '•') <+> text "Probable fix: add an explicit 'Emerge c'"       <+> text "constraint to the type signature"   ]+
constraints-emerge.cabal view
@@ -1,5 +1,5 @@ name:                constraints-emerge-version:             0.1+version:             0.1.1 synopsis:            Defer instance lookups until runtime description:     This plugin allows you to write