Resolving dependencies... Configuring greencard-3.0.1... Building greencard-3.0.1... Preprocessing executable 'greencard' for greencard-3.0.1... unused terminals: 1 [ 1 of 21] Compiling ErrMonad ( src/ErrMonad.lhs, dist/build/greencard/greencard-tmp/ErrMonad.o ) src/ErrMonad.lhs:42:10: No instance for (Applicative (ErrM a)) arising from the superclasses of an instance declaration In the instance declaration for ‘Monad (ErrM a)’ Failed to install greencard-3.0.1 cabal: Error: some packages failed to install: greencard-3.0.1 failed during the building phase. The exception was: ExitFailure 1