unison/unison-src/tests/effect-instantiation.u
2019-02-12 14:10:33 -05:00

11 lines
193 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