Building test suite 'spec' for raaz-0.1.1..
[ 1 of 20] Compiling Common.Imports ( spec/Common/Imports.hs, dist/build/spec/spec-tmp/Common/Imports.o )
spec/Common/Imports.hs:18:1: warning: [-Wdeprecations]
Module ‘Raaz.Hash.Sha1’ is deprecated:
SHA1 is broken. This module is here only for transition.
|
18 | import Raaz.Hash.Sha1 as E
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 20] Compiling Common.Utils ( spec/Common/Utils.hs, dist/build/spec/spec-tmp/Common/Utils.o )
spec/Common/Utils.hs:82:15: error:
• Could not deduce (Testable pr) arising from a use of ‘monadicIO’
from the context: Show a
bound by the type signature for:
feed :: forall a pr. Show a => Gen a -> (a -> IO pr) -> Property
at spec/Common/Utils.hs:81:1-51
Possible fix:
add (Testable pr) to the context of
the type signature for:
feed :: forall a pr. Show a => Gen a -> (a -> IO pr) -> Property
• In the expression: monadicIO $ pick gen >>= (run . pr)
In an equation for ‘feed’:
feed gen pr = monadicIO $ pick gen >>= (run . pr)
|
82 | feed gen pr = monadicIO $ pick gen >>= (run . pr)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^