Literal

Main data type

data Literal

Creating Literals

mkMachInt

mkMachWord

mkMachInt64

mkMachWord64

mkMachFloat

mkMachDouble

mkMachChar

mkMachString

mkLitInteger

Operations on Literals

literalType

hashLiteral

absentLiteralOf

pprLiteral

Predicates on Literals and their contents

litIsDupable

litIsTrivial

litIsLifted

inIntRange

inWordRange

tARGET_MAX_INT

inCharRange

isZeroLit

litFitsInChar

Coercions

word2IntLit

double2FloatLit

float2DoubleLit

int2DoubleLit

double2IntLit

int2FloatLit

float2IntLit

int2CharLit

char2IntLit

narrow32WordLit

narrow16WordLit

narrow8WordLit

narrow32IntLit

narrow16IntLit

narrow8IntLit

int2WordLit

nullAddrLit