[Haskell-cafe] I have a question about Haskell

Eunsu Kim wntuwntu at gmail.com
Fri Apr 22 03:13:21 UTC 2016


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160421/9411dcef/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-04-21 at 10.09.53 PM.png
Type: image/png
Size: 65233 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160421/9411dcef/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-04-21 at 10.11.29 PM.png
Type: image/png
Size: 25586 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160421/9411dcef/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-04-21 at 10.12.30 PM.png
Type: image/png
Size: 12203 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160421/9411dcef/attachment-0005.png>


More information about the Haskell-Cafe mailing list