unison/unison-src/transcripts-using-base/fix1709.output.md
2024-06-25 11:12:43 -07:00

848 B

id x = x

id2 x =
  z = 384849
  id x

  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`:
    
      id  : x -> x
        (also named
        __projects._05eecf9d_2346_49c6_a526_322179f9a76a.branches._a446c219_4db0_4bc4_8357_f7e0a10c7e04.id)
      id2 : x -> x

scratch/main> add

  ⊡ Ignored previously added definitions: id
  
  ⍟ I've added these definitions:
  
    id2 : x -> x

> id2 "hi"

  Loading changes detected in scratch.u.

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

    1 | > id2 "hi"
          ⧩
          "hi"