Documentation bug: hs_init is incorrectly called in the example
In the page
http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/ffi-ghc.html#ffi-library
one of the examples in "Using your own main()" has some issues.
See here http://stackoverflow.com/questions/13671429/is-this-typecast-correct/13671457#comment18765468_13671457 for more details.
Trac metadata
| Trac field | Value |
|---|---|
| Version | |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Documentation |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |