<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Literal</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Literal</DIV ><DIV CLASS="mini-synopsis" ><H1 >Main data type </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Literal.html#t%3ALiteral" TARGET="main" >Literal</A > </DIV > <H2 >Creating Literals </H2 > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachInt" TARGET="main" >mkMachInt</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachWord" TARGET="main" >mkMachWord</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachInt64" TARGET="main" >mkMachInt64</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachWord64" TARGET="main" >mkMachWord64</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachFloat" TARGET="main" >mkMachFloat</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachDouble" TARGET="main" >mkMachDouble</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachChar" TARGET="main" >mkMachChar</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AmkMachString" TARGET="main" >mkMachString</A ></DIV > <H2 >Operations on Literals </H2 > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AliteralType" TARGET="main" >literalType</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AhashLiteral" TARGET="main" >hashLiteral</A ></DIV > <H2 >Predicates on Literals and their contents </H2 > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AlitIsDupable" TARGET="main" >litIsDupable</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AlitIsTrivial" TARGET="main" >litIsTrivial</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AinIntRange" TARGET="main" >inIntRange</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AinWordRange" TARGET="main" >inWordRange</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AtARGET_MAX_INT" TARGET="main" >tARGET_MAX_INT</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AinCharRange" TARGET="main" >inCharRange</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AisZeroLit" TARGET="main" >isZeroLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AlitFitsInChar" TARGET="main" >litFitsInChar</A ></DIV > <H2 >Coercions </H2 > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Aword2IntLit" TARGET="main" >word2IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Aint2WordLit" TARGET="main" >int2WordLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Anarrow8IntLit" TARGET="main" >narrow8IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Anarrow16IntLit" TARGET="main" >narrow16IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Anarrow32IntLit" TARGET="main" >narrow32IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Anarrow8WordLit" TARGET="main" >narrow8WordLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Anarrow16WordLit" TARGET="main" >narrow16WordLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Anarrow32WordLit" TARGET="main" >narrow32WordLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Achar2IntLit" TARGET="main" >char2IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Aint2CharLit" TARGET="main" >int2CharLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Afloat2IntLit" TARGET="main" >float2IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Aint2FloatLit" TARGET="main" >int2FloatLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Adouble2IntLit" TARGET="main" >double2IntLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Aint2DoubleLit" TARGET="main" >int2DoubleLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3AnullAddrLit" TARGET="main" >nullAddrLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Afloat2DoubleLit" TARGET="main" >float2DoubleLit</A ></DIV > <DIV CLASS="decl" ><A HREF="Literal.html#v%3Adouble2FloatLit" TARGET="main" >double2FloatLit</A ></DIV ></DIV ></DIV ></BODY ></HTML >