[Haskell-cafe] How do you make constant expressions?

Eitan Goldshtrom thesourceofx at gmail.com
Mon Jul 19 15:55:30 EDT 2010


Awesome. It worked. Haskell continues to impress me. Thanks for the help 
everyone.

-Eitan

On 7/19/2010 4:42 AM, Max Bolingbroke wrote:
> Use NoMonomorphismRestriction or give an explicit type signature:
>
> width :: Num a =>  a
> width = 800
>
> Max
>    


More information about the Haskell-Cafe mailing list