Custom Query
Results (10 - 12 of 5838)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #10 | Invalid | undefined reference to `Main_main_closur | nobody | nobody |
| description |
Prelude> :! ghc -o nuevo c:\windows\desktop\Comp.hs C:/GHC/libHSstd.a(PrelMain__1.o) (.text+0x16)://c/tmp/ghc1756.hc: undefined refer ence to `__stginit_Main' C:/GHC/libHSstd.a(PrelMain__2.o) (.text+0x4)://c/tmp/ghc1756.hc: undefined refere nce to `Main_main_closure' C:/GHC/libHSstd.a(PrelMain__2.o) (.text+0x33)://c/tmp/ghc1756.hc: undefined refer ence to `Main_main_closure' |
|||
| #11 | Fixed | No error from --make -o out when no main | simonmar | rrt |
| description |
If you run ghc --make [some .hs files] -o [output] and there is no Main.main, ghc doesn't complain, and silently doesn't produce an executable. |
|||
| #12 | Fixed | Function missing ? | nobody | nobody |
| description |
Dear Bug-hunters,
In the documentation of 'Socket' the following is
defined :
data PortID = PortNumber PortNumber | ... -- excluded
the rest...
data PortNumber -- instance of ...
mkPortNumber :: Int -> PortNumber
But 'mkPortNumber' is *NOT* present in the actual
implementation, which presents me with the problem that
I cannot convert an Int to a PortNumber (or PortID,
which
is what is actually needed...).
Here is a (minimal) example of my intended usage
(in a module intended to encapsulate communication to a
server in a specific protocol...) :
myConnect :: String -> Int -> IO MyConnection
myConnect server port = do
sock <- connectTo server (PortNumber (mkPortNumber
port))
return sock
I may be that I'm in error here, but I strongly feel
that
something is missing from the 'Socket' library...
Kind Regards, Alex...
|
|||
Note: See TracQuery
for help on using queries.
