unison/unison-src/transcripts-using-base/serial-test-04.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

722 B

mutual0 = cases
  0 -> "okay"
  n ->
    _ = openFile
    mutual1 (drop n 1)

mutual1 n =
  mutual0 n

mkTestCase = do
  saveTestCase "case-04" "v4" mutual1 5

  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`:
    
      mkTestCase : '{IO, Exception} ()
      mutual0    : Nat -> Text
      mutual1    : Nat -> Text

scratch/main> add

  ⍟ I've added these definitions:
  
    mkTestCase : '{IO, Exception} ()
    mutual0    : Nat -> Text
    mutual1    : Nat -> Text

scratch/main> run mkTestCase

  ()