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

build fails with --enable-tests #4

Open
ababkin opened this issue Aug 30, 2015 · 0 comments
Open

build fails with --enable-tests #4

ababkin opened this issue Aug 30, 2015 · 0 comments

Comments

@ababkin
Copy link

ababkin commented Aug 30, 2015

Tried to fix this by adding either >= 4.4.1 to cabal file and import Control.Monad.Trans.Either (EitherT) but got bogged down on catchT, which i cannot find which package it came from anywhere by googling. Please consider specifying the precise imports in parentheses going forward so it is easy to track down what was imported from where. Bulk importing may seem like saving time but is actually a tech debt, which my experience proves.

1 of 2] Compiling Utils            ( tests/Utils.hs, dist/dist-sandbox-2352247e/build/SNS-tests/SNS-tests-tmp/Utils.o )

tests/Utils.hs:75:30:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:81:31:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:81:53:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:86:25:
    Not in scope: ‘catchT’
    Perhaps you meant ‘catchE’ (imported from Control.Error)

tests/Utils.hs:96:11:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:99:12:
    Not in scope: ‘runEitherT’
    Perhaps you meant ‘runEitherR’ (imported from Control.Error)

tests/Utils.hs:106:8:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:112:8:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:120:14:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)

tests/Utils.hs:128:19:
    Not in scope: type constructor or class ‘EitherT’
    Perhaps you meant one of these:
      ‘Either’ (imported from Prelude),
      ‘EitherR’ (imported from Control.Error)
cabal: Error: some packages failed to install:
aws-sns-0.1 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant