mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +03:00
17 lines
327 B
Idris
17 lines
327 B
Idris
|
module Test
|
||
|
|
||
|
data Dummy : (lbl : Type) -> (st : List lbl) -> Type -> Type where
|
||
|
MkDummy : a -> Dummy b st a
|
||
|
|
||
|
|
||
|
public export
|
||
|
interface IxPure (f : (lbl : Type) -> (st : List lbl) -> Type -> Type)
|
||
|
where
|
||
|
ixPure : a -> f lbl st a
|
||
|
|
||
|
IxPure Dummy where
|
||
|
ixPure = MkDummy
|
||
|
|
||
|
pure12 : Dummy String xs Nat
|
||
|
pure12 = ixPure Z
|