Error message trying to use SOE
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |