Idris2/tests/idris2/import009/Import.idr
2023-07-31 08:35:16 +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