Several people have posted about this homework problem on StackOverflow today, including one person whose name and code look very much like yours: http://stackoverflow.com/questions/36778193/to-evaluate-polynomial-in-haskell

If that is indeed your question, I suggest you improve it by adding the missing code. In any case, sending screen captures of your code to haskell-cafe is not the best way to get help. Use plain text only, and send your question to haskell-beginners instead.

On Thu, Apr 21, 2016 at 11:13 PM, Eunsu Kim <wntuwntu@gmail.com> wrote:
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!

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe