fixed haddock comments
This commit is contained in:
parent
84415db96a
commit
af72ca74af
|
@ -31,11 +31,11 @@ import Lens.Micro.Platform ((^.), (&), (%~))
|
||||||
import Abacus
|
import Abacus
|
||||||
import Abacus.App.Types
|
import Abacus.App.Types
|
||||||
|
|
||||||
-- Moves the cursor up
|
-- | Moves the cursor up
|
||||||
moveUp :: AppState -> AppState
|
moveUp :: AppState -> AppState
|
||||||
moveUp = rungNum %~ (max 0 . pred)
|
moveUp = rungNum %~ (max 0 . pred)
|
||||||
|
|
||||||
-- Moves the cursor down
|
-- | Moves the cursor down
|
||||||
moveDown :: AppState -> AppState
|
moveDown :: AppState -> AppState
|
||||||
moveDown s = s & rungNum %~
|
moveDown s = s & rungNum %~
|
||||||
(min (pred $ getNumRungs $ s^.abacus) . succ)
|
(min (pred $ getNumRungs $ s^.abacus) . succ)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user