mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
Update 'bug-strange-closure.md'
This commit is contained in:
parent
d93b5dee4f
commit
fbd7bb90a6
@ -1,15 +1,15 @@
|
||||
|
||||
```ucm:hide
|
||||
.> builtins.mergeio
|
||||
.> load unison-src/transcripts-using-base/doc.md.files/syntax.u
|
||||
scratch/main> builtins.mergeio lib.builtins
|
||||
scratch/main> load unison-src/transcripts-using-base/doc.md.files/syntax.u
|
||||
```
|
||||
|
||||
We can display the guide before and after adding it to the codebase:
|
||||
|
||||
```ucm
|
||||
.> display doc.guide
|
||||
.> add
|
||||
.> display doc.guide
|
||||
scratch/main> display doc.guide
|
||||
scratch/main> add
|
||||
scratch/main> display doc.guide
|
||||
```
|
||||
|
||||
But we can't display this due to a decompilation problem.
|
||||
@ -19,10 +19,10 @@ rendered = Pretty.get (docFormatConsole doc.guide)
|
||||
```
|
||||
|
||||
```ucm
|
||||
.> display rendered
|
||||
.> add
|
||||
.> display rendered
|
||||
.> undo
|
||||
scratch/main> display rendered
|
||||
scratch/main> add
|
||||
scratch/main> display rendered
|
||||
scratch/main> undo
|
||||
```
|
||||
|
||||
And then this sometimes generates a GHC crash "strange closure error" but doesn't seem deterministic.
|
||||
|
@ -2,7 +2,7 @@
|
||||
We can display the guide before and after adding it to the codebase:
|
||||
|
||||
```ucm
|
||||
.> display doc.guide
|
||||
scratch/main> display doc.guide
|
||||
|
||||
# Unison computable documentation
|
||||
|
||||
@ -200,7 +200,7 @@ We can display the guide before and after adding it to the codebase:
|
||||
rendered table.
|
||||
Some text More text Zounds!
|
||||
|
||||
.> add
|
||||
scratch/main> add
|
||||
|
||||
⍟ I've added these definitions:
|
||||
|
||||
@ -213,7 +213,7 @@ We can display the guide before and after adding it to the codebase:
|
||||
otherElements : Doc2
|
||||
sqr : Nat -> Nat
|
||||
|
||||
.> display doc.guide
|
||||
scratch/main> display doc.guide
|
||||
|
||||
# Unison computable documentation
|
||||
|
||||
@ -432,7 +432,7 @@ rendered = Pretty.get (docFormatConsole doc.guide)
|
||||
|
||||
```
|
||||
```ucm
|
||||
.> display rendered
|
||||
scratch/main> display rendered
|
||||
|
||||
# Unison computable documentation
|
||||
|
||||
@ -630,13 +630,13 @@ rendered = Pretty.get (docFormatConsole doc.guide)
|
||||
rendered table.
|
||||
Some text More text Zounds!
|
||||
|
||||
.> add
|
||||
scratch/main> add
|
||||
|
||||
⍟ I've added these definitions:
|
||||
|
||||
rendered : Annotated () (Either SpecialForm ConsoleText)
|
||||
|
||||
.> display rendered
|
||||
scratch/main> display rendered
|
||||
|
||||
# Unison computable documentation
|
||||
|
||||
@ -834,7 +834,7 @@ rendered = Pretty.get (docFormatConsole doc.guide)
|
||||
rendered table.
|
||||
Some text More text Zounds!
|
||||
|
||||
.> undo
|
||||
scratch/main> undo
|
||||
|
||||
Here are the changes I undid
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user