Skip to content

Commit 802de54

Browse files
committed
Add section on code formatting. Fixes #99
1 parent 2d1a5af commit 802de54

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sotu.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ either defend my decision or change my mind.
8585
* [Support for file formats](#support-for-file-formats)
8686
* [Package management](#package-management)
8787
* [Logging](#logging)
88+
* [Code formatting](#code-formatting)
8889
* [Education](#education)
8990
* [Databases and data stores](#databases-and-data-stores)
9091
* [Debugging](#debugging)
@@ -1402,6 +1403,19 @@ Haskell has decent logging support. That's pretty much all there is to say.
14021403

14031404
<br>
14041405

1406+
## Code formatting
1407+
1408+
**Rating:** Mature
1409+
1410+
Haskell provides two tools for automatic code formatting:
1411+
1412+
* `stylish-haskell` - Less opinionated code formatting tool that mostly
1413+
formats imports, language extensions, and data type definitions
1414+
* `hindent` - Strict formatting tool that formats everything in the file in a
1415+
canonical form (analogous to `gofmt`)
1416+
1417+
<br>
1418+
14051419
## Education
14061420

14071421
**Rating:** Immature

0 commit comments

Comments
 (0)