summaryrefslogtreecommitdiff
path: root/compiler/basicTypes/IdInfo.hs
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-05-11 11:04:43 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2015-05-11 11:07:04 +0200
commit27aa733a7a9854802b4622317c75d36c237c9067 (patch)
tree893292dcd1ff776e7d89b1070c46eb385c616893 /compiler/basicTypes/IdInfo.hs
parente4032b1951a35d8df63a74ebfee7449988b5ef40 (diff)
downloadhaskell-27aa733a7a9854802b4622317c75d36c237c9067.tar.gz
IdInfo comment update
occInfo and callArityInfo is like demandInfo and oneShotInfo: Data about how the Id is used. [skip ci]
Diffstat (limited to 'compiler/basicTypes/IdInfo.hs')
-rw-r--r--compiler/basicTypes/IdInfo.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/basicTypes/IdInfo.hs b/compiler/basicTypes/IdInfo.hs
index 4c069ea925..eb897896a9 100644
--- a/compiler/basicTypes/IdInfo.hs
+++ b/compiler/basicTypes/IdInfo.hs
@@ -173,9 +173,9 @@ pprIdDetails other = brackets (pp other)
-- 'Unique' (and are hence the same 'Id'); for example, one might lack
-- the properties attached to the other.
--
--- The 'IdInfo' gives information about the value, or definition, of the
--- 'Id'. It does not contain information about the 'Id''s usage,
--- except for 'demandInfo' and 'oneShotInfo'.
+-- Most of the 'IdInfo' gives information about the value, or definition, of
+-- the 'Id', independent of its usage. Exceptions to this
+-- are 'demandInfo', 'occInfo', 'oneShotInfo' and 'callArityInfo'.
data IdInfo
= IdInfo {
arityInfo :: !ArityInfo, -- ^ 'Id' arity