mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 16:21:46 +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
|