mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +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
|