Ads
related to: commas or semicolons in lists- Free Sentence Checker
Free online proofreading tool.
Find and fix errors quickly.
- Sign-Up
Create a free account today.
Great writing, simplified.
- Free Essay Checker
Proofread your essay with ease.
Writing that makes the grade.
- Features
Improve grammar, punctuation,
conciseness, and more.
- Free Sentence Checker
Search results
Results from the WOW.Com Content Network
Uses of the semicolon in English include: Between items in a series or listing when the items contain internal punctuation, especially parenthetic commas, where the semicolons function as the serial commas for the series or listing. The semicolon divides the items on the list from each other, to avoid having a jumble of commas with differing ...
Typographical symbols and punctuation marks are marks and symbols used in typography with a variety of purposes such as to help with legibility and accessibility, or to identify special cases. This list gives those most commonly encountered with Latin script. For a far more comprehensive list of symbols and signs, see List of Unicode characters.
Many programming languages provide support for list data types, and have special syntax and semantics for lists and list operations. A list can often be constructed by writing the items in sequence, separated by commas, semicolons, and/or spaces, within a pair of delimiters such as parentheses '()', brackets '[]', braces '{}', or angle brackets
If the individual items of a list are long, complex, affixed with description, or themselves contain commas, semicolons may be preferred as separators, and the list may be introduced with a colon. In news headlines , a comma might replace the word "and", even if there are only two items, in order to save space, as in this headline from Reuters ...
The comma's use is consistent with the conventional practice of the region. [28] It can resolve ambiguity (see examples below). [29] [30] [31] Its use is consistent with other means of separating items in a list (for example, when semicolons are used to separate items, one is always included before the last item). [32]
Items may be given with initial lowercase or in sentence case. No final punctuation is used in most cases. Semicolons may be used when the list is short, items are lowercase, and the entire list forms a complete sentence (typically with its introductory phrase and possibly with a closing phrase after the list to complete the sentence).
In Haskell, layout can replace braces. Usually the braces and semicolons are omitted for procedural do sections and the program text in general, but the style is commonly used for lists, records and other syntactic elements made up of some pair of parentheses or braces, which are separated with commas or semicolons. [37]
There should be a space after a closing bracket, except where a punctuation mark follows (though a spaced dash would still be spaced after a closing bracket) and in unusual cases similar to those listed for opening brackets. Avoid adjacent sets of brackets. Either put the parenthetical phrases in one set separated by semicolons, or rewrite:
Ads
related to: commas or semicolons in lists