Haskell - how to cast types?

Posted by MMM on Stack Overflow See other posts from Stack Overflow or by MMM
Published on 2010-05-22T21:58:43Z Indexed on 2010/05/22 22:00 UTC
Read the original article Hit count: 109

Filed under:
|
|

I am trying to do following:

10 ** length xs * x

but I get:

No instance for (Floating Int) arising from a use of `**'

© Stack Overflow or respective owner

Related posts about haskell

Related posts about casting