diff options
author | Niklas Hambüchen <mail@nh2.me> | 2017-07-23 21:18:08 +0200 |
---|---|---|
committer | Niklas Hambüchen <mail@nh2.me> | 2017-07-23 21:18:08 +0200 |
commit | 8e79121454171b145e5d102e5713299b43604d88 (patch) | |
tree | 002a13425e32fdeff4601be0d8b1bb2a851b9181 /packages/special/lib/Numeric/GSL/Special/Dawson.hs | |
parent | a08df91da6362d348635211a6d77d85501a72ab2 (diff) |
Fix compilation with GHC 8.2 by adding some type signatures.
Fixes this compile error:
src/Internal/Util.hs:625:5: error:
• Could not deduce (Eq t)
from the context: (Indexable (c t) a, Indexable (c t) t,
Linear t c, Num (c t), Fractional t, Num a, Eq a)
bound by the inferred type for ‘redu’:
forall a t (c :: * -> *).
(Indexable (c t) a, Indexable (c t) t, Linear t c, Num (c t),
Fractional t, Num a, Eq a) =>
(Int, [c t]) -> [c t]
at src/Internal/Util.hs:(625,5)-(632,20)
• In the ambiguity check for the inferred type for ‘redu’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Dawson.hs')
0 files changed, 0 insertions, 0 deletions