Idris2/tests/idris2/reg/reg036/Test.idr

11 lines
171 B
Idris
Raw Normal View History

module Test
interface Foo a where
bar : a -> {auto ok: ()} -> a
foo : Void -> {auto ok: ()} -> Void
foo = ?foo_hole
baz : a -> b -> c -> {auto x : a} -> a
baz {} = x