mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-04 01:03:36 +03:00
390 B
390 B
scratch/main> builtins.merge
use builtin Scope
unique ability Async t g where async : {g} Nat
unique ability Exception where raise : Nat -> x
pure.run : a -> (forall t . '{Async t g} a) ->{Exception, g} a
pure.run a0 a =
a' : forall s . '{Scope s, Exception, g} a
a' = 'a0 -- typechecks
-- make sure this builtin can still be referenced
Scope.run a'