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

litValue

Coercions

word2IntLit

int2WordLit

narrow8IntLit

narrow16IntLit

narrow32IntLit

narrow8WordLit

narrow16WordLit

narrow32WordLit

char2IntLit

int2CharLit

float2IntLit

int2FloatLit

double2IntLit

int2DoubleLit

nullAddrLit

float2DoubleLit

double2FloatLit