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

746 B

The empty codebase

The Unison codebase, when first initialized, contains no definitions in its namespace.

Not even Nat or +!

BEHOLD!!!

scratch/main> ls

  nothing to show

Technically, the definitions all exist, but they have no names. builtins.merge brings them into existence, under the current namespace:

scratch/main> builtins.merge lib.builtins

  Done.

scratch/main> ls lib

  1. builtins/ (469 terms, 74 types)

And for a limited time, you can get even more builtin goodies:

scratch/main> builtins.mergeio lib.builtinsio

  Done.

scratch/main> ls lib

  1. builtins/   (469 terms, 74 types)
  2. builtinsio/ (643 terms, 92 types)

More typically, you'd start out by pulling base.