SMRep

# Words and bytes

data StgWord

fromStgWord

toStgWord

data StgHalfWord

fromStgHalfWord

toStgHalfWord

hALF_WORD_SIZE

hALF_WORD_SIZE_IN_BITS

type WordOff

type ByteOff

roundUpToWords

# Closure repesentation

data SMRep

type IsStatic

data ClosureTypeInfo

data ArgDescr

type Liveness

type ConstrDescription

## Construction

mkHeapRep

blackHoleRep

indStaticRep

mkStackRep

mkRTSRep

## Predicates

isStaticRep

isConRep

isThunkRep

isFunRep

isStaticNoCafCon

isStackRep

## Size-related things

heapClosureSize

fixedHdrSize

arrWordsHdrSize

arrPtrsHdrSize

profHdrSize

thunkHdrSize

nonHdrSize

## RTS closure types

rtsClosureType

rET_SMALL

rET_BIG

aRG_GEN

aRG_GEN_BIG

# Operations over [Word8] strings that don't belong here

pprWord8String

stringToWord8s