mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
🔥 getK.
This commit is contained in:
parent
0bf24a86db
commit
c4f45522af
@ -52,9 +52,8 @@ ses eq as' bs'
|
|||||||
moveDownFrom up
|
moveDownFrom up
|
||||||
else
|
else
|
||||||
moveRightFrom left
|
moveRightFrom left
|
||||||
where getK k = v ! k
|
where left = v ! pred k
|
||||||
left = getK (pred k)
|
up = v ! succ k
|
||||||
up = getK (succ k)
|
|
||||||
|
|
||||||
-- | Move downward from a given vertex, inserting the element for the corresponding row.
|
-- | Move downward from a given vertex, inserting the element for the corresponding row.
|
||||||
moveDownFrom (Endpoint x y script) = Endpoint x (succ y) (if y < m then That (bs ! y) : script else script)
|
moveDownFrom (Endpoint x y script) = Endpoint x (succ y) (if y < m then That (bs ! y) : script else script)
|
||||||
|
Loading…
Reference in New Issue
Block a user