#5847: Error message trying to use SOE
-----------------------+----------------------------------------------------
Reporter: punstress | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords:
Os: Windows | Architecture: Unknown/Multiple
Failure: Other | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------+----------------------------------------------------
I've had a really hard time getting the SOE package up and running. I
finally got cabal to install GLFW and things were looking good. I :cd'd
into SOE/src and entered Prelude> :load Draw
1 of 3 Compiling Shape
2 of 3 Compiling SOE
SOE.hs:136:31:
Couldn't match expected type 'Bool' with actual type '()'
Expected type: GLFW.WindowCloseCallback
Actual type: IO ()
In the return type of a call of 'closeWindow_'
In the second argument of '($=)', namely 'closeWindow_ eventsChan'
Failed, modules loaded: none
Line 136 is:
GLFW.windowCloseCallback $= closeWindow_ eventsChan
Please help me! I have wasted so many hours of my life. PS I think my
version is 7.4.0.0 not 7.4.1 but that choice didn't exist.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5847>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs