Skip to content

Commit

Permalink
Add some description to the new transcripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Aug 1, 2024
1 parent 80143eb commit 4803d44
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unison-src/transcripts/fix1327.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ foo = 4
bar = 5
```

`alias.many` should be able to consume the numbered args produced by `ls`. Previously, `ls` would produce absolute paths, but `alias.many` required relative ones.

Now `ls` returns a pair of the absolute search directory and the result relative to that search directory, so it can be used in both absolute and relative contexts.

```ucm
scratch/main> add
scratch/main> ls
Expand Down
4 changes: 4 additions & 0 deletions unison-src/transcripts/fix1327.output.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ bar = 5
foo : ##Nat
```
`alias.many` should be able to consume the numbered args produced by `ls`. Previously, `ls` would produce absolute paths, but `alias.many` required relative ones.

Now `ls` returns a pair of the absolute search directory and the result relative to that search directory, so it can be used in both absolute and relative contexts.

``` ucm
scratch/main> add
Expand Down
2 changes: 2 additions & 0 deletions unison-src/transcripts/fix3977.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
scratch/main> builtins.merge
```

Pretty-printing previously didn’t compensate for extra characters on a line that was about to be wrapped, resulting in a line-break without sufficient indentation. Now pretty-printing indents based on the starting column of the wrapped expression, not simply “prevIndent + 2”.

```unison:hide
failure msg context = Failure (typeLink Unit) msg (Any context)
Expand Down
2 changes: 2 additions & 0 deletions unison-src/transcripts/fix3977.output.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Pretty-printing previously didn’t compensate for extra characters on a line that was about to be wrapped, resulting in a line-break without sufficient indentation. Now pretty-printing indents based on the starting column of the wrapped expression, not simply “prevIndent + 2”.

``` unison
failure msg context = Failure (typeLink Unit) msg (Any context)
Expand Down

0 comments on commit 4803d44

Please sign in to comment.