mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +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'