GHC from CVS HEAD does not require that the Main module export "main"

2005-06-13 Thread Brian Smith
The Haskell 98 report says "A Haskell program is a collection of modules, one of which, by convention, must be called Main and must export the value main." However, the program below builds and executes fine. module Main() -- should be "module Main" or "module Main(main)" where main = putStrLn "He

[ ghc-Bugs-1219920 ] socketToHandle, hGetContents cause errors in ghci

2005-06-13 Thread SourceForge.net
Bugs item #1219920, was opened at 2005-06-13 14:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1219920&group_id=8032 Please note that this message will contain a full copy of

RE: irrelevant package

2005-06-13 Thread Simon Marlow
On 13 June 2005 14:34, Serge D. Mechveliani wrote: > I am testing packages in ghc-6.4. > I set > docon.cabal, > > which declares dependence on `data': build-depends: data > The attempt to build docon by > > cd $doconSource > runhaskell Setup.hs configure --ghc --prefix=$doconS

irrelevant package

2005-06-13 Thread Serge D. Mechveliani
Dear GHC developers, I am testing packages in ghc-6.4. I set docon.cabal, which declares dependence on `data': build-depends: data The attempt to build docon by cd $doconSource runhaskell Setup.hs configure --ghc --prefix=$doconSource/inst runhaskell Setup.hs build produ

RE: source subdirectory in package

2005-06-13 Thread Simon Marlow
On 13 June 2005 12:19, Serge D. Mechveliani wrote: > Dear GHC developers, > > I am testing Cabal in ghc-6.4. > Consider a project of the modulesU1.hs, subdir/V1.hs > put to the source root of$(HOME)/user1/ > Provide some simplest source for U1, V1, > and the package descri

[ ghc-Bugs-1170933 ] _module_registered in QuickCheck

2005-06-13 Thread SourceForge.net
Bugs item #1170933, was opened at 2005-03-26 09:10 Message generated for change (Comment added) made by as49 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1170933&group_id=8032 Please note that this message will contain a full copy of the comment thread

Segfault in __stginit_Main_ on powerpc-linux

2005-06-13 Thread Jérémy Bobbio
Hi! Yi [1] contains a ncurses binding that exhibits a strange bug on powerpc-linux when built with GHC 6.4 using -fasm. Attached is a not so minimal test case. The main module just import Yi.Curses.Curses and it seems to be sufficient to kill module initialisation. $ gdb main [...] Program re

source subdirectory in package

2005-06-13 Thread Serge D. Mechveliani
Dear GHC developers, I am testing Cabal in ghc-6.4. Consider a project of the modulesU1.hs, subdir/V1.hs put to the source root of$(HOME)/user1/ Provide some simplest source for U1, V1, and the package description -- u1.cabal - name:u1 ver