Custom Query (6525 matches)
Results (22 - 24 of 6525)
|#2083||worksforme||linker reports missing symbols Main.c:(.text+0x12): undefined reference to `__stginit_ZCMain'||Andrew U. Frank|
i use 6.8.2 on linux (ubuntu 7.10). i use mainly eclipse and ghci, but when i try to compile a program, the linker reports the undefined references. for the minimal program 'hello world' i get
Main.c:(.text+0x12): undefined reference to `__stginit_ZCMain' Main.c:(.text+0x2c): undefined reference to `ZCMain_main_closure'
for more interesting programs i get a lot more (i have experimented with wxhaskell and phooey, tv, eros -- and some problems with compiling them in the right order etc..)
suprisingly the problem goes away if the program is called Main.hs - then it links properly, but not when it is called Test.hs. the same program with
main = putStr....
according to the ghc documentation, it is permitted to have in file Test.hs the module main. (and it works properly in ghci)
Documentation for the Error monad. Please take a minute to review it. This is one those parts of the library newbies have difficulties to grok.
Converted the module documentation to Haddock format. Per Jeff Newbern's gracious permission included relevant informationan example from his cool tutorial "All About Monads" http://www.nomaware.com/monads/. Added an example for ErrorT. Use String instead of [Char].
Deadline for the proposal - 2 weeks.
Currently this important monad module does not have any haddock comment.
Per Jeff Newbern's gracious permission included relevant information from his cool tutorial "All About Monads" http://www.nomaware.com/monads/, created a couple of examples.