[commit: ghc] wip/orf-reboot: Comments only (3f7494e)
git at git.haskell.org
git at git.haskell.org
Thu Jul 2 07:43:24 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/orf-reboot
Link : http://ghc.haskell.org/trac/ghc/changeset/3f7494ebf797eb9314424f56e2b9ad336cfa2e18/ghc
>---------------------------------------------------------------
commit 3f7494ebf797eb9314424f56e2b9ad336cfa2e18
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Jul 2 08:43:58 2015 +0100
Comments only
>---------------------------------------------------------------
3f7494ebf797eb9314424f56e2b9ad336cfa2e18
compiler/basicTypes/FieldLabel.hs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/compiler/basicTypes/FieldLabel.hs b/compiler/basicTypes/FieldLabel.hs
index 34d07f4..cfcb05a 100644
--- a/compiler/basicTypes/FieldLabel.hs
+++ b/compiler/basicTypes/FieldLabel.hs
@@ -71,8 +71,9 @@ type FieldLabel = FieldLbl Name
-- | Fields in an algebraic record type
data FieldLbl a = FieldLabel {
- flLabel :: FieldLabelString, -- ^ Label of the field
- flIsOverloaded :: Bool, -- ^ Is this field overloaded?
+ flLabel :: FieldLabelString, -- ^ User-visible label of the field
+ flIsOverloaded :: Bool, -- ^ Was AllowDuplicateRecordFields on
+ -- in the defining module for this datatype?
flSelector :: a -- ^ Record selector function
}
deriving (Functor, Foldable, Traversable)
More information about the ghc-commits
mailing list