Skip to content
Snippets Groups Projects
Commit 1f934a5b authored by Simon Peyton Jones's avatar Simon Peyton Jones Committed by Austin Seipp
Browse files

Correct typos in comments to mkDataCon

(cherry picked from commit 0afa37aa)
parent 5651b41e
No related branches found
No related tags found
No related merge requests found
...@@ -619,8 +619,8 @@ isMarkedStrict _ = True -- All others are strict ...@@ -619,8 +619,8 @@ isMarkedStrict _ = True -- All others are strict
-- | Build a new data constructor -- | Build a new data constructor
mkDataCon :: Name mkDataCon :: Name
-> Bool -- ^ Is the constructor declared infix? -> Bool -- ^ Is the constructor declared infix?
-> [HsBang] -- ^ Strictness/unpack annotations, from user, of -> [HsBang] -- ^ Strictness/unpack annotations, from user;
-- (for imported DataCons) from the interface file -- or, for imported DataCons, from the interface file
-> [FieldLabel] -- ^ Field labels for the constructor, if it is a record, -> [FieldLabel] -- ^ Field labels for the constructor, if it is a record,
-- otherwise empty -- otherwise empty
-> [TyVar] -- ^ Universally quantified type variables -> [TyVar] -- ^ Universally quantified type variables
......
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