reorder clauses in Subst.(.)
This commit is contained in:
parent
cdcd926347
commit
eae97a7b9d
1 changed files with 1 additions and 1 deletions
|
@ -65,8 +65,8 @@ shift by = Shift $ fromNat by
|
||||||
infixl 9 .
|
infixl 9 .
|
||||||
public export
|
public export
|
||||||
(.) : CanSubst1 f => Subst f from mid -> Subst f mid to -> Subst f from to
|
(.) : CanSubst1 f => Subst f from mid -> Subst f mid to -> Subst f from to
|
||||||
|
Shift by . Shift bz = Shift $ by . bz
|
||||||
Shift SZ . ph = ph
|
Shift SZ . ph = ph
|
||||||
Shift (SS by) . Shift bz = Shift $ SS by . bz
|
|
||||||
Shift (SS by) . (t ::: th) = Shift by . th
|
Shift (SS by) . (t ::: th) = Shift by . th
|
||||||
(t ::: th) . ph = (t // ph) ::: (th . ph)
|
(t ::: th) . ph = (t // ph) ::: (th . ph)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue