Add some description to the new transcripts

This commit is contained in:
Greg Pfeil 2024-08-01 10:51:32 -06:00
parent 80143eb9a2
commit 4803d446f1
No known key found for this signature in database
GPG Key ID: 1193ACD196ED61F2
4 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -2,6 +2,8 @@
scratch/main> builtins.merge
```
Pretty-printing previously didnt 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)

View File

@ -1,3 +1,5 @@
Pretty-printing previously didnt 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)