Fill in missing case in Pretty.map

This commit is contained in:
Paul Chiusano 2021-04-02 18:45:57 -05:00
parent 3e4163acce
commit bfc6c3ed63
3 changed files with 6 additions and 5 deletions

View File

@ -750,7 +750,7 @@ Pretty.map f p =
Wrap _ p -> Wrap () (go p)
OrElse _ p1 p2 -> OrElse () (go p1) (go p2)
Indent _ i0 iN p -> Indent () (go i0) (go iN) (go p)
-- Append _ ps -> Append () (List.map go ps)
Annotated.Append _ ps -> Annotated.Append () (List.map go ps)
Pretty (go (Pretty.get p))
Pretty.empty : Pretty txt

View File

@ -1,12 +1,13 @@
doc.guide = {{ TODO - uncomment the below }}
---
doc.guide = {{
testing
}} ---
# Unison documentation format
The syntax tries to be close to markdown.
## Basic formatting
Paragraphs are separated by one or more blanklines. There's syntax for bold, italics, and strikethrough text:

View File

@ -67,6 +67,6 @@ The `docs ImportantConstant` command will look for `ImportantConstant.doc` in th
.> display doc.guide
TODO - uncomment the below
testing
```