unison/unison-src/transcripts/watch-expressions.output.md

1.6 KiB

.> builtins.merge

  Done.

test> pass = [Ok "Passed"]

  Loading changes detected in scratch.u.

  I found and typechecked these definitions in scratch.u. If you
  do an `add` or `update`, here's how your codebase would
  change:
  
    ⍟ These new definitions are ok to `add`:
    
      pass : [Result]
  
  Now evaluating any watch expressions (lines starting with
  `>`)... Ctrl+C cancels.

    1 | test> pass = [Ok "Passed"]
    
    ✅ Passed Passed

.> add

  ⍟ I've added these definitions:
  
    pass : [Result]

test> pass = [Ok "Passed"]

  Loading changes detected in scratch.u.

  I found and typechecked the definitions in scratch.u. This
  file has been previously added to the codebase.
  
  Now evaluating any watch expressions (lines starting with
  `>`)... Ctrl+C cancels.

    1 | test> pass = [Ok "Passed"]
    
    ✅ Passed Passed (cached)

.> add

  ⊡ Ignored previously added definitions: pass

.> test

  Cached test results (`help testcache` to learn more)
  
  ◉ pass   Passed
  
  ✅ 1 test(s) passing
  
  Tip: Use view pass to view the source of a test.

> Scope.run do
    freeze! (Scope.arrayOf 0 0)


  Loading changes detected in scratch.u.

  ✅
  
  scratch.u changed.
  
  Now evaluating any watch expressions (lines starting with
  `>`)... Ctrl+C cancels.

  ⚠️
  
  I had trouble decompiling some results.
  
  The following errors were encountered:
      A foreign value with no decompiled representation was
      encountered:
        ##ImmutableArray

    1 | > Scope.run do
          ⧩
          bug "<Foreign>"