Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

lol PHP

Name: Anonymous 2007-06-10 6:42 ID:3V9R3kd3

1.) Run this code
2.) LOL


<?php
foreach(array(0xffffff, 0xfffffff, 0xffffffff, 0xfffffffff, 0xffffffffff) as $x)
printf("%s (%s)\n", $x, gettype($x));
?>

Name: Anonymous 2007-06-11 9:25 ID:yNsJGhnt

>>17
Haskell is static-typed.
main = do mapM_ (\x -> putStrLn $ show x ++ " (Integer)") [2^24, 2^28, 2^32, 2^36, 2^40]

If there are some EXPERT PhD Haskell-fags here, I would like to see how I did that properly with Data.Typeable and typeOf, as I failed to write this myself (lol I'm EXPERT HASKELL NOOB).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List