Idris2/tests/idris2/misc/import009/Import.idr

10 lines
169 B
Idris
Raw Normal View History

2023-07-31 10:35:16 +03:00
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