diff options
author | Andrew Cady <d@jerkface.net> | 2022-10-21 01:44:47 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2022-10-21 01:44:47 -0400 |
commit | d465c82d56327b30b8bb5510ec95aa530f9663e8 (patch) | |
tree | 462a697a06f9df57d95d77eaf6fd7d47d245cd85 | |
parent | 55370844e691cfcf334eb7d79f07ac68e11b9240 (diff) |
unused variable
-rwxr-xr-x | repgoal.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -177,9 +177,9 @@ drawUI st = [vCenter $ vBox [hCenter oneRepMaxTable, withVScrollBarHandles $ wit | |||
177 | str $ showRational $ computeOneRepMax best | 177 | str $ showRational $ computeOneRepMax best |
178 | ] | 178 | ] |
179 | toLiftRows :: WeekSelection -> LiftRecord -> [[Widget n]] | 179 | toLiftRows :: WeekSelection -> LiftRecord -> [[Widget n]] |
180 | toLiftRows week lift = (flip map) (annotatePosition $ liftScheme Fresher week) $ toLiftRow week lift | 180 | toLiftRows week lift = (flip map) (annotatePosition $ liftScheme Fresher week) $ toLiftRow lift |
181 | toLiftRow :: WeekSelection -> LiftRecord -> (ListPosition, SetScheme) -> [Widget n] | 181 | toLiftRow :: LiftRecord -> (ListPosition, SetScheme) -> [Widget n] |
182 | toLiftRow week LiftRecord{..} (position, (SetScheme targetRatio targetReps)) = | 182 | toLiftRow LiftRecord{..} (position, (SetScheme targetRatio targetReps)) = |
183 | let best = bestPerformance stats | 183 | let best = bestPerformance stats |
184 | computedTarget = targetRatio * (90 % 100) * computeOneRepMax best | 184 | computedTarget = targetRatio * (90 % 100) * computeOneRepMax best |
185 | targetWeight = ceilingN 5 computedTarget | 185 | targetWeight = ceilingN 5 computedTarget |