Hi

i have a problem in my code!

here is my code:

here is error message:


in very bottom function (polyEvaluate), why is not working “result <- map (\(a,b) -> a+b) powers” ???

in Prelude, it is working


Thanks!