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