<div dir="ltr"><div>Several people have posted about this homework problem on StackOverflow today, including one person whose name and code look very much like yours: <a href="http://stackoverflow.com/questions/36778193/to-evaluate-polynomial-in-haskell">http://stackoverflow.com/questions/36778193/to-evaluate-polynomial-in-haskell</a><br><br></div>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.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 21, 2016 at 11:13 PM, Eunsu Kim <span dir="ltr"><<a href="mailto:wntuwntu@gmail.com" target="_blank">wntuwntu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi</div><div><br></div><div>i have a problem in my code!</div><div><br></div><div>here is my code:</div><img src="cid:22E78409-4B2D-4907-8ADF-A40FD76DF7F5" height="389" width="610"><div><br></div><div>here is error message:</div><div><br></div><div><img src="cid:C6FEB6E1-8BDA-4837-AF14-F06EBE296C84" height="152" width="375"></div><div><br></div><div>in very bottom function (polyEvaluate), why is not working “result <- map (\(a,b) -> a+b) powers” ???</div><div><br></div><div>in Prelude, it is working</div><div><br></div><div><img src="cid:B2077ACB-2F62-4D6F-9ECA-92B1F7B0CB36" height="46" width="285"></div><div><br></div><div>Thanks!</div></div><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>