Skip to content

Commit 5fe86ed

Browse files
authored
Merge pull request #5361 from unisonweb/arya/dump-libraries
add transcript with `edit.namespace` output for `base` and `http`
2 parents 5ef810d + 2038e3a commit 5fe86ed

File tree

3 files changed

+87612
-1
lines changed

3 files changed

+87612
-1
lines changed

parser-typechecker/src/Unison/Syntax/TermPrinter.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ pretty0
273273
useRaw _ | p >= Annotation = Nothing
274274
useRaw s | Text.find (== '\n') s == Just '\n' && Text.all ok s = n 3
275275
useRaw _ = Nothing
276-
ok ch = isPrint ch || ch == '\n' || ch == '\r'
276+
ok ch = isPrint ch || ch == '\n'
277277
-- Picks smallest number of surrounding """ to be unique
278278
n 10 = Nothing -- bail at 10, avoiding quadratic behavior in weird cases
279279
n cur =
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This transcript is to detect changes in the pretty-printer for a few major public libraries.
2+
3+
We clone releases and not dev branches to avoid external changes, and also to reduce the time needed to clone the libraries.
4+
5+
```ucm
6+
scratch/main> clone @unison/base/releases/3.19.0
7+
@unison/base/releases/3.19.0> edit.namespace
8+
```
9+
10+
```ucm
11+
scratch/main> clone @unison/http/releases/3.3.2
12+
@unison/http/releases/3.3.2> edit.namespace
13+
```

0 commit comments

Comments
 (0)