From: <cod...@go...> - 2010-06-17 14:21:13
|
Comment #2 on issue 25 by pedromartins.pt: Can't install hoc. http://code.google.com/p/hoc/issues/detail?id=25 I managed to get hoc to compile with GHC 6.12.1 by just updating all the "ConT ... AppT ..." vs "ClassP" TH errors and fixing some other random API changes (like the disappearance of CLDouble, Char/String in Data, and the Setup.hs issue). I also had to apply the patch in http://code.google.com/p/hoc/issues/detail?id=24 to get the bindings to generate in SL. I've attached the patch with the API change fixes. Note that they were done simply by following the types, not understanding the code, so I might have changed some functionality or there might be some "unexhaustive pattern match" lurking, but it seems to work fine, I've successfully compiled and run all examples. Attachments: hoc-apichanges.patch 10.8 KB |