shithub: MicroHs

ref: f63867c6adcb110682f7b5b3ff180c6a5280e53e
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