@@ -43,6 +43,7 @@ library
4343 base >= 4.9 && < 4.13,
4444 bifunctors >= 5.2 && < 5.6,
4545 comonad,
46+ constraints-extras >= 0.2,
4647 containers >= 0.5 && < 0.7,
4748 data-default >= 0.5 && < 0.8,
4849 dependent-map >= 0.2.4 && < 0.3,
@@ -131,7 +132,7 @@ library
131132 if flag(use-template-haskell)
132133 cpp-options: -DUSE_TEMPLATE_HASKELL
133134 build-depends:
134− dependent-sum >= 0.3 && < 0.5,
135+ dependent-sum >= 0.5,
135136 haskell-src-exts >= 1.16 && < 1.21,
136137 haskell-src-meta >= 0.6 && < 0.9,
137138 template-haskell >= 2.9 && < 2.15
@@ -140,7 +141,7 @@ library
140141 other-extensions: TemplateHaskell
141142 else
142143 build-depends:
143− dependent-sum == 0.4.*
144+ dependent-sum >= 0.5
144145
145146 if flag(fast-weak) && impl(ghcjs)
146147 cpp-options: -DGHCJS_FAST_WEAK