Data.Primitive

primitive-0.5.2.1: Primitive memory-related operations

Copyright | (c) Roman Leshchinskiy 2009-2012
License | BSD-style
Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au>
Portability | non-portable
Safe Haskell | None
Language | Haskell2010

Data.Primitive

Description

Reexports all primitive operations

Synopsis

- module Data.Primitive.Types
- module Data.Primitive.Array
- module Data.Primitive.ByteArray
- module Data.Primitive.Addr
- sizeOf :: Prim a => a -> Int
- alignment :: Prim a => a -> Int

# Documentation

module Data.Primitive.Types

module Data.Primitive.Array

module Data.Primitive.ByteArray

module Data.Primitive.Addr

sizeOf :: Prim a => a -> Int

Size of values of type `a`. The argument is not used.

alignment :: Prim a => a -> Int

Alignment of values of type `a`. The argument is not used.