mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Avoid unnecessary do notation.
This commit is contained in:
parent
54149c5000
commit
767a2a36a4
@ -79,10 +79,10 @@ runSES eq (EditGraph as bs)
|
||||
else if k == negate d || k == negate m then
|
||||
-- The lower/left extent of the search region or edit graph, whichever is smaller.
|
||||
moveDownFrom (getK (succ k))
|
||||
else if k /= d && k /= n then do
|
||||
else if k /= d && k /= n then
|
||||
-- Somewhere in the interior of the search region and edit graph.
|
||||
let prev = getK (pred k)
|
||||
let next = getK (succ k)
|
||||
next = getK (succ k) in
|
||||
if x prev < x next then
|
||||
moveDownFrom next
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user