mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-19 14:29:27 +03:00
f545ef2213
Add g to constructor to avoid kind defaulting
379 B
379 B
.> 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'