unison/unison-src/tests/effect-instantiation.u

11 lines
191 B
Plaintext

blah : a -> a -> a
blah a a2 = a2
effect Foo where
foo : {Foo} Text
-- previously this didn't work as first argument was pure
-- and second argument was impure
blah '("hello!") 'Foo.foo