projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-07-20 15:22:21 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
basicTypes
/
Id.lhs
diff --git
a/ghc/compiler/basicTypes/Id.lhs
b/ghc/compiler/basicTypes/Id.lhs
index
34f769d
..
448ed01
100644
(file)
--- a/
ghc/compiler/basicTypes/Id.lhs
+++ b/
ghc/compiler/basicTypes/Id.lhs
@@
-307,7
+307,7
@@
idArityInfo id = arityInfo (idInfo id)
idArity :: Id -> Arity
idArity id = arityLowerBound (idArityInfo id)
-setIdArityInfo :: Id -> ArityInfo -> Id
+setIdArityInfo :: Id -> Arity -> Id
setIdArityInfo id arity = modifyIdInfo (`setArityInfo` arity) id
---------------------------------