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