unison/unison-src/transcripts/emptyCodebase.md
2024-06-26 11:03:22 -07:00

588 B

The empty codebase

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

Not even Nat or +!

BEHOLD!!!

scratch/main> ls

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
scratch/main> ls lib

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

scratch/main> builtins.mergeio lib.builtinsio
scratch/main> ls lib

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