add weakD
This commit is contained in:
parent
100063ab91
commit
ab82883214
1 changed files with 5 additions and 0 deletions
|
@ -132,3 +132,8 @@ DecEq (Dim d) where
|
||||||
public export %inline
|
public export %inline
|
||||||
BV : (i : Nat) -> (0 _ : LT i d) => Dim d
|
BV : (i : Nat) -> (0 _ : LT i d) => Dim d
|
||||||
BV i = B $ V i
|
BV i = B $ V i
|
||||||
|
|
||||||
|
|
||||||
|
export
|
||||||
|
weakD : {default 1 by : Nat} -> Dim d -> Dim (by + d)
|
||||||
|
weakD p = p // shift by
|
||||||
|
|
Loading…
Reference in a new issue