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

Neil Mitchell ndmitchell at gmail.com
Wed Jul 2 17:16:09 EDT 2008


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

And Hoogle says:

toEnum, fromIntegral

Thanks

Neil


More information about the Haskell-Cafe mailing list