unison/unison-src/transcripts/unique-type-churn.output.md
2023-07-18 13:45:02 -04:00

796 B

This transcript demonstrates that unique types no longer always get a fresh GUID: they share GUIDs with already-saved unique types of the same name.

unique type A = A

unique type B = B C
unique type C = C B

  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`:
    
      unique type A
      unique type B
      unique type C

.> add

  ⍟ I've added these definitions:
  
    unique type A
    unique type B
    unique type C

unique type A = A

unique type B = B C
unique type C = C B

  I found and typechecked the definitions in scratch.u. This
  file has been previously added to the codebase.