I have a question about Haskell

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!

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-haskel...
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
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
participants (2)
-
David Feuer
-
Eunsu Kim