[Haskell-cafe] calling setWMHints (expects a CInt, I have an Int)

Martin DeMello martindemello at gmail.com
Wed Jul 2 17:17:28 EDT 2008


On Wed, Jul 2, 2008 at 2:16 PM, Neil Mitchell <ndmitchell at gmail.com> wrote:
> Hi Martin,
>
>>  I can't figure out how to convert an Int to a CInt to construct the WMHints
>
> Ask Hoogle:
>
> http://haskell.org/hoogle/?q=Int+-%3E+CInt

Nice!!!!

> And Hoogle says:
>
> toEnum, fromIntegral

thanks a lot :)

martin


More information about the Haskell-Cafe mailing list