mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 20:51:43 +03:00
11 lines
171 B
Idris
11 lines
171 B
Idris
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
|