projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f972551
)
[project @ 2003-02-17 15:13:09 by simonpj]
author
simonpj
<unknown>
Mon, 17 Feb 2003 15:13:09 +0000
(15:13 +0000)
committer
simonpj
<unknown>
Mon, 17 Feb 2003 15:13:09 +0000
(15:13 +0000)
Type sig for getTag
GHC/Base.lhs
patch
|
blob
|
history
diff --git
a/GHC/Base.lhs
b/GHC/Base.lhs
index
9cdd755
..
2598583
100644
(file)
--- a/
GHC/Base.lhs
+++ b/
GHC/Base.lhs
@@
-687,6
+687,7
@@
in the case when the argument is already known to be evaluated.
\begin{code}
{-# INLINE getTag #-}
+getTag :: a -> Int#
getTag x = x `seq` dataToTag# x
\end{code}