diff options
author | Ben Sima <ben@bsima.me> | 2020-11-28 13:06:26 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-11-28 13:07:42 -0500 |
commit | d0992536ff338d8ec393b286a0da9979efc729d4 (patch) | |
tree | 3a88345d9cd52383285417386370b1b94fd11dac /Biz | |
parent | 90badda2f8ef96069fae3a00d1726237783b0209 (diff) |
Lint fixes
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Pie.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,13 +146,13 @@ move mov form = case mov of mostImprovement <- parseText </ question "What most improved your primary metric?" biggestObstacle <- parseText </ question "What is your biggest obstacle?" goals <- parseText </ question "What are your top 1-3 goals for next week?" - return <| form {roll = BuildSprint {..} : (roll form)} + return <| form {roll = BuildSprint {..} : roll form} Feedback -> Haskeline.runInputT Haskeline.defaultSettings <| do timestamp <- liftIO Clock.getCurrentTime user <- parseText </ question "User?" howDisappointed <- parseDisappointment </ question "How disappointed? (1=very, 2=somewhat, 3=not)" - return <| form {roll = UserFeedback {..} : (roll form)} + return <| form {roll = UserFeedback {..} : roll form} question :: String -> Haskeline.InputT IO String question q = Maybe.fromJust </ (Haskeline.getInputLine <| q ++ " ") |