Data.Primitive

primitive-0.3.1: Wrappers for primitive operations

Portability | non-portable
Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au>

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.