fixed haddock comments

This commit is contained in:
Jonathan Lamothe 2024-08-22 16:38:41 -04:00
parent 84415db96a
commit af72ca74af

View File

@ -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)