summaryrefslogtreecommitdiff
path: root/examples/bool.hs
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2017-07-23 21:18:08 +0200
committerNiklas Hambüchen <mail@nh2.me>2017-07-23 21:18:08 +0200
commit8e79121454171b145e5d102e5713299b43604d88 (patch)
tree002a13425e32fdeff4601be0d8b1bb2a851b9181 /examples/bool.hs
parenta08df91da6362d348635211a6d77d85501a72ab2 (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 'examples/bool.hs')
0 files changed, 0 insertions, 0 deletions