Commit 1db24428 authored by simonmar's avatar simonmar
Browse files

[project @ 1999-09-06 14:57:30 by simonmar]

fromInt stuff
parent c8e8f6e9
......@@ -416,7 +416,7 @@ be tuned.)
\begin{code}
intTag :: Literal -> Integer
intTag (MachChar c) = fromInt (ord c)
intTag (MachChar c) = toInteger (ord c)
intTag (MachInt i _) = i
intTag _ = panic "intTag"
......
......@@ -25,6 +25,10 @@ import BitSet ( intBS )
import Bits
import Word
#if __GLASGOW_HASKELL__ >= 404
import GlaExts ( fromInt )
#endif
\end{code}
Generating code for info tables (arrays of data).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment