unison/unison-src/transcripts/branch-relative-path.output.md
Greg Pfeil 0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -06:00

1.3 KiB

foo = 5
foo.bar = 1

  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`:
    
      foo     : ##Nat
      foo.bar : ##Nat

p0/main> add

  ⍟ I've added these definitions:
  
    foo     : ##Nat
    foo.bar : ##Nat

bonk = 5
donk.bonk = 1

  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`:
    
      bonk      : ##Nat
        (also named foo)
      donk.bonk : ##Nat
        (also named foo.bar)

p1/main> add

  ⍟ I've added these definitions:
  
    bonk      : ##Nat
    donk.bonk : ##Nat

p1/main> fork p0/main: zzz

  Done.

p1/main> find zzz

  1. zzz.foo : ##Nat
  2. zzz.foo.bar : ##Nat
  

p1/main> fork p0/main:foo yyy

  Done.

p1/main> find yyy

  1. yyy.bar : ##Nat
  

p0/main> fork p1/main: p0/main:p1

  Done.

p0/main> ls p1

  1. bonk  (##Nat)
  2. donk/ (1 term)
  3. yyy/  (1 term)
  4. zzz/  (2 terms)

p0/main> ls p1.zzz

  1. foo  (##Nat)
  2. foo/ (1 term)

p0/main> ls p1.yyy

  1. bar (##Nat)