Skip to content

Instantly share code, notes, and snippets.

@erik
Created November 15, 2011 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erik/1368510 to your computer and use it in GitHub Desktop.
Save erik/1368510 to your computer and use it in GitHub Desktop.
Resolving dependencies...
Configuring FoieGras-0.0...
Preprocessing executables for FoieGras-0.0...
Building FoieGras-0.0...
[1 of 1] Compiling Main ( FoieGras.hs, dist/build/FoieGras/FoieGras-tmp/Main.o )
FoieGras.hs:138:0:
Couldn't match expected type `Double'
against inferred type `GLdouble'
Expected type: DTime
Inferred type: GLdouble
When using functional dependencies to combine
VectorSpace (Vector2 a) a,
arising from the dependency `v -> a'
in the instance declaration at FoieGras.hs:389:9
VectorSpace (Vector2 GLdouble) DTime,
arising from a use of `*^' at FoieGras.hs:139:40-45
When generalising the type(s) for `handleKey'
FoieGras.hs:161:0:
Couldn't match expected type `Double'
against inferred type `GLdouble'
Expected type: DTime
Inferred type: GLdouble
When using functional dependencies to combine
VectorSpace (Vector2 a) a,
arising from the dependency `v -> a'
in the instance declaration at FoieGras.hs:389:9
VectorSpace (Vector2 GLdouble) DTime,
arising from a use of `*^' at FoieGras.hs:161:52-66
When generalising the type(s) for `moveBG'
FoieGras.hs:166:0:
Couldn't match expected type `Double'
against inferred type `GLdouble'
Expected type: DTime
Inferred type: GLdouble
When using functional dependencies to combine
VectorSpace (Vector2 a) a,
arising from the dependency `v -> a'
in the instance declaration at FoieGras.hs:389:9
VectorSpace (Vector2 GLdouble) DTime,
arising from a use of `*^' at FoieGras.hs:166:33-61
When generalising the type(s) for `move'
FoieGras.hs:177:87:
Couldn't match expected type `GLdouble'
against inferred type `Double'
In the first argument of `Vector2', namely `s'
In the second argument of `M', namely `(Vector2 s 0)'
In the first argument of `(:)', namely
`M (Vertex2 (1.3 + personWidth) groundPos)
(Vector2 s 0)
(if c then Just (personGun t) else Nothing)'
cabal: Error: some packages failed to install:
FoieGras-0.0 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