mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
737 B
737 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.