mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-10 20:00:27 +03:00
769 B
769 B
The order of a set of abilities is normalized before hashing.
unique ability Foo where
foo : ()
unique ability Bar where
bar : ()
term1 : () ->{Foo, Bar} ()
term1 _ = ()
term2 : () ->{Bar, Foo} ()
term2 _ = ()
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`:
unique ability Bar
unique ability Foo
term1 : '{Bar, Foo} ()
term2 : '{Bar, Foo} ()
.> add
⍟ I've added these definitions:
unique ability Bar
unique ability Foo
term1 : '{Bar, Foo} ()
term2 : '{Bar, Foo} ()
.> names term1
Term
Hash: #8hum58rlih
Names: term1 term2