Add thinning from empty list
This commit is contained in:
parent
c040ccadcd
commit
19141b121b
|
@ -45,3 +45,9 @@ end ∘ end = end
|
||||||
include α ∘ include β = include (α ∘ β)
|
include α ∘ include β = include (α ∘ β)
|
||||||
include α ∘ exclude β = exclude (α ∘ β)
|
include α ∘ exclude β = exclude (α ∘ β)
|
||||||
exclude α ∘ β = exclude (α ∘ β)
|
exclude α ∘ β = exclude (α ∘ β)
|
||||||
|
|
||||||
|
-- There is always a Thinning from the empty list to any list. Here we exclude
|
||||||
|
-- at every step.
|
||||||
|
¡ : Thinning A [] xs
|
||||||
|
¡ {xs = []} = end
|
||||||
|
¡ {xs = x ∷ xs} = exclude ¡
|
||||||
|
|
Loading…
Reference in New Issue