idris-0.12.3: test/regression002/reg003a.idr
data EvenList : Type where
ENil : EvenList
ECons : Nat -> OddList -> EvenList
data OddList : Type where
OCons : Nat -> EvenList -> OddList
test : EvenList
test = ECons 1 ENil
data EvenList : Type where
ENil : EvenList
ECons : Nat -> OddList -> EvenList
data OddList : Type where
OCons : Nat -> EvenList -> OddList
test : EvenList
test = ECons 1 ENil