3 Could not deduce `PrelNum.Integral a'
4 (arising from use of `PrelNum.mod' at tcfail034.hs:17)
5 from the context: (PrelBase.Num a, PrelBase.Eq a)
6 Probable cause: missing `PrelNum.Integral a'
7 in type signature for `test'
8 When checking the type signature(s) for `test'
11 Compilation had errors