Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Variable-size-Get/Haskell/variable-size-get.hs
Normal file
6
Task/Variable-size-Get/Haskell/variable-size-get.hs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import Foreign
|
||||
|
||||
sizeOf (undefined :: Int) -- size of Int in bytes (4 on mine)
|
||||
sizeOf (undefined :: Double) -- size of Double in bytes (8 on mine)
|
||||
sizeOf (undefined :: Bool) -- size of Bool in bytes (4 on mine)
|
||||
sizeOf (undefined :: Ptr a) -- size of Ptr in bytes (4 on mine)
|
||||
Loading…
Add table
Add a link
Reference in a new issue