Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advent-of-code-api fails to build #7038

Closed
mihaimaruseac opened this issue Jun 29, 2023 · 0 comments
Closed

advent-of-code-api fails to build #7038

mihaimaruseac opened this issue Jun 29, 2023 · 0 comments

Comments

@mihaimaruseac
Copy link
Contributor

       /var/stackage/work/unpack-dir/unpacked/advent-of-code-api-0.2.8.4-44903f89ba3a05e03e2917509690cc9ac0830ad84c98acfedabfd6f9ea064c51/src/Advent.hs:389:16: error: [GHC-88464]
           Variable not in scope:
             liftIO :: IO NominalDiffTime -> ExceptT AoCError IO NominalDiffTime
           Suggested fix:
             Perhaps use one of these:
               ‘liftM’ (imported from Control.Monad),
               ‘liftA2’ (imported from Prelude),
               ‘liftM2’ (imported from Control.Monad)
           |
       389 |         rel <- liftIO $ timeToRelease _aYear d 
           |                ^^^^^^
        
       /var/stackage/work/unpack-dir/unpacked/advent-of-code-api-0.2.8.4-44903f89ba3a05e03e2917509690cc9ac0830ad84c98acfedabfd6f9ea064c51/src/Advent.hs:393:14: error: [GHC-88464]
           Variable not in scope:
             liftIO
               :: IO (Maybe (Either ClientError a))
                  -> ExceptT AoCError IO (Maybe (Either ClientError a))
           Suggested fix:
             Perhaps use one of these:
               ‘liftM’ (imported from Control.Monad),
               ‘liftA2’ (imported from Prelude),
               ‘liftM2’ (imported from Control.Monad)
           |
       393 |       mtr <- liftIO
           |              ^^^^^^

CC @mstksg

mihaimaruseac added a commit that referenced this issue Jun 29, 2023
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants