unison/unison-src/tests/effect-instantiation.u
2021-08-24 11:33:27 -07:00

11 lines
205 B
Plaintext

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