Skip to content
Snippets Groups Projects
Commit 1db24428 authored by Simon Marlow's avatar Simon Marlow
Browse files

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

fromInt stuff
parent c8e8f6e9
No related merge requests found
......@@ -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).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment