summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2022-11-25 23:34:48 -0500
committerAndrew Cady <d@jerkface.net>2022-11-25 23:34:48 -0500
commit1e76cb3bf9385d0254972b830eda40569469760b (patch)
treecb99d620740da7ead6cbedd46c45b19008b4482c
parent186c118566bca45bf23996424c910042c2c5dd7b (diff)
-rwxr-xr-xrepgoal.hs23
1 files changed, 12 insertions, 11 deletions
diff --git a/repgoal.hs b/repgoal.hs
index cb9cee3..547f6b0 100755
--- a/repgoal.hs
+++ b/repgoal.hs
@@ -198,14 +198,15 @@ accessoryLiftRow liftRecords name targetReps (position, _) =
198 targetWeight = join $ fmap achievedWeight . find ((== targetReps) . fromIntegral . achievedReps) . stats <$> liftRecords 198 targetWeight = join $ fmap achievedWeight . find ((== targetReps) . fromIntegral . achievedReps) . stats <$> liftRecords
199 199
200unspecifiedLiftRow :: Text -> [Widget n] 200unspecifiedLiftRow :: Text -> [Widget n]
201unspecifiedLiftRow name = map (padLeftRight 2) [ 201unspecifiedLiftRow name =
202 txt name, 202 map (padLeftRight 2)
203 txt " ", 203 [ txt name
204 txt " ", 204 , txt " "
205 txt " ", 205 , txt " "
206 txt " ", 206 , txt " "
207 txt " ", 207 , txt " "
208 txt " " 208 , txt " "
209 , txt " "
209 ] 210 ]
210 211
211wendlerLiftRow :: LiftRecord -> (ListPosition, SetScheme) -> [Widget n] 212wendlerLiftRow :: LiftRecord -> (ListPosition, SetScheme) -> [Widget n]
@@ -329,7 +330,7 @@ jerk = pushPress / 100 * 85
329program :: NESeq Session 330program :: NESeq Session
330program = 331program =
331 332
332 ( Session "531 Deadlift/Press" $ 333 ( Session "5-3-1 Deadlift/Press" $
333 334
334 Lift "Deadlift" Wendler 335 Lift "Deadlift" Wendler
335 :<|| Seq.fromList 336 :<|| Seq.fromList
@@ -359,7 +360,7 @@ program =
359 , Lift "Right-Arm Snatch" $ Accessory 5 3 360 , Lift "Right-Arm Snatch" $ Accessory 5 3
360 ] 361 ]
361 362
362 , Session "531 Squat/Bench" $ 363 , Session "5-3-1 Squat/Bench" $
363 364
364 Lift "Squat" Wendler 365 Lift "Squat" Wendler
365 :<|| Seq.fromList 366 :<|| Seq.fromList
@@ -401,7 +402,7 @@ program =
401 402
402 Lift "Press front & back" (Accessory 1 10) 403 Lift "Press front & back" (Accessory 1 10)
403 :<|| Seq.fromList 404 :<|| Seq.fromList
404 [ Lift "Squat" $ Accessory 1 5 405 [ Lift "Back Squat" $ Accessory 1 5
405 , Lift "Good Morning" $ Accessory 1 5 406 , Lift "Good Morning" $ Accessory 1 5
406 , Lift "Front Squat" $ Accessory 1 5 407 , Lift "Front Squat" $ Accessory 1 5
407 , Lift "SLDL" $ Accessory 1 5 408 , Lift "SLDL" $ Accessory 1 5