mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
451 B
451 B
alias.type
makes a new name for a type.
project/main> builtins.mergeio lib.builtins
project/main> alias.type lib.builtins.Nat Foo
project/main> ls
It won't create a conflicted name, though.
project/main> alias.type lib.builtins.Int Foo
project/main> ls
You can use debug.alias.type.force
for that.
project/main> debug.alias.type.force lib.builtins.Int Foo
project/main> ls