Idris2/tests/idris2/misc/import009/Import.idr
2023-09-07 14:57:22 +01:00

10 lines
169 B
Idris

module Import
import Test
(|>) : (s : HasComp x) => {0 a, b, c : x} -> a ~> b -> b ~> c -> a ~> c
a |> b = comp s a b
(~:>) : Type -> Type -> Type
a ~:> b = Pair a b