Resolving dependencies... Downloading she-0.0... Configuring she-0.0... Building she-0.0... Preprocessing executable 'she' for she-0.0... [1 of 7] Compiling Parsley ( src/Parsley.lhs, dist/build/she/she-tmp/Parsley.o ) [2 of 7] Compiling HaLay ( src/HaLay.lhs, dist/build/she/she-tmp/HaLay.o ) src/HaLay.lhs:348:12: Illegal instance declaration for `Alternative L' (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Alternative L' src/HaLay.lhs:352:12: Illegal instance declaration for `Applicative L' (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Applicative L' Failed to install she-0.0 cabal: Error: some packages failed to install: she-0.0 failed during the building phase. The exception was: ExitFailure 1