Commit 8b5ea7ce authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

User's guide: fix singular/plural typo in flagnames

parent 89bdac76
......@@ -188,22 +188,22 @@ warningsOptions =
, flagType = DynamicFlag
, flagReverse = "-Wno-name-shadowing"
}
, flag { flagName = "-Wnoncanonical-monad-instance"
, flag { flagName = "-Wnoncanonical-monad-instances"
, flagDescription =
"warn when ``Applicative`` or ``Monad`` instances have "++
"noncanonical definitions of ``return``, ``pure``, ``(>>)``, "++
"or ``(*>)``. "++
"See flag description in :ref:`options-sanity` for more details."
, flagType = DynamicFlag
, flagReverse = "-Wno-noncanonical-monad-instance"
, flagReverse = "-Wno-noncanonical-monad-instances"
}
, flag { flagName = "-Wnoncanonical-monoid-instance"
, flag { flagName = "-Wnoncanonical-monoid-instances"
, flagDescription =
"warn when ``Semigroup`` or ``Monoid`` instances have "++
"noncanonical definitions of ``(<>)`` or ``mappend``. "++
"See flag description in :ref:`options-sanity` for more details."
, flagType = DynamicFlag
, flagReverse = "-Wno-noncanonical-monoid-instance"
, flagReverse = "-Wno-noncanonical-monoid-instances"
}
, flag { flagName = "-Worphans"
, flagDescription =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment