mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-30 07:02:24 +03:00
7 lines
193 B
Idris
7 lines
193 B
Idris
|
module Dep
|
||
|
|
||
|
interface Monad m => FooBar m where
|
||
|
Foo : {0 a : Type} -> a -> m a -> Type
|
||
|
Bar : {0 A : Type} -> m A -> Type
|
||
|
foo : {0 A : Type} -> (x : A) -> (ma : m A) -> Foo x ma -> Bar ma
|