unison/unison-src/transcripts/fix4424.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

589 B

Some basics:

unique type Cat.Dog = Mouse Nat
unique type Rat.Dog = Bird

countCat = cases
  Cat.Dog.Mouse x -> Bird
scratch/main> add

  ⍟ I've added these definitions:
  
    type Cat.Dog
    type Rat.Dog
    countCat : Cat.Dog -> Rat.Dog

Now I want to add a constructor.

unique type Rat.Dog = Bird | Mouse
scratch/main> update

  Okay, I'm searching the branch for code that needs to be
  updated...

  That's done. Now I'm making sure everything typechecks...

  Everything typechecks, so I'm saving the results...

  Done.