Resolving dependencies... Downloading she-0.3... Configuring she-0.3... Building she-0.3... Preprocessing library she-0.3... [1 of 1] Compiling ShePrelude ( src/ShePrelude.lhs, dist/build/ShePrelude.o ) In-place registering she-0.3... Preprocessing executable 'she' for she-0.3... [ 1 of 10] Compiling Parsley ( src/Parsley.lhs, dist/build/she/she-tmp/Parsley.o ) [ 2 of 10] Compiling HaLay ( src/HaLay.lhs, dist/build/she/she-tmp/HaLay.o ) src/HaLay.lhs:458: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:462: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.3 cabal: Error: some packages failed to install: she-0.3 failed during the building phase. The exception was: ExitFailure 1