shithub: MicroHs

ref: 0424d9cae9e87a6c3d3ecd6d5d8e36fbac1892af
dir: /tests/Word.hs/

View raw version
module Word(main) where
import Prelude
import Data.Word

main :: IO ()
main = do
  putStrLn $ show (1000::Word)
  putStrLn $ show $ maxw*maxw > 0

maxw :: Word
maxw = if _wordSize == 32 then 0x7fff::Word else 0x7fffffff::Word