GHC-compilation error

2001-01-15 Thread Shi Kun
Hello, I got the following error msg when I compiled my .hs program with GHC-4.04 on unix platform (SunOS 5.7) cc1: ghc16082.s: I/O error May I know whether it is my program's error, GHC error or sun system's error? Regards, shikun

RE: GHC-compilation error

2001-01-15 Thread Simon Marlow
This is an error from the C compiler (not GHC), while it was trying to write the assembly file. It probably indicates a problem with your system - a faulty disk or problems with an NFS mount, perhaps? Cheers, Simon -Original Message- From: Shi Kun [mailto:[EMAIL PROTECTED]] Sent:

documentation buglet in green card's online docs

2001-01-15 Thread Ketil Malde
Incredibly tiny nit, but in the final section about compiling stubs, I believe you mean -fPIC as the gcc option (the documentation says -fPCI, which isn't something gcc recognizes). You might also want to point out that debian packages are available for apt-get'ting, at least you run woody.

RE: Change sigTTOU/TTIN to IGNORE by default

2001-01-15 Thread Simon Marlow
In fact I can produce a simple example, either. So just the facts: perftest@monster [11:46:35] ./Reader [2] 86029 perftest@monster [11:46:40] jobs [2]+ Stopped ./Reader Sourcecode-snippet of Reader: main = do -- Posix.installHandler Posix.sigTTOU Posix.Ignore

RE: Change sigTTOU/TTIN to IGNORE by default

2001-01-15 Thread Malcolm Wallace
But we're not changing any of the terminal flags, simply setting the same ones again. I'm totally stumped! Any ideas, anyone? According to the manual page, tcgetattr() ... This function may be invoked from a background process; however, the terminal

Re: Change sigTTOU/TTIN to IGNORE by default

2001-01-15 Thread Michael Weber
* Michael Weber [EMAIL PROTECTED] [2001-01-16T00:00+0100]: [...] So, a solution seems to be, to block SIGTTOU during the call of tcsetattr [...] BTW: Eventually, the following functions need the same shielding: tcsetattr, tcsendbreak, tcflow, tcflush Cheers, M/ -- () ASCII ribbon

ghc compiling errors on a win32 platform

2001-01-15 Thread Yu, Tina (tiyu)
Hi, I have received the following error message when compiling the "Hello World" program: $ ghc -o main main.hs Compilation IS NOT required gcc: C:/ghc/ghc-4.08.1/lib/Main.dll_o: No such file or directory gcc: C:/ghc/ghc-4.08.1/lib/PrelMain.dll_o: No such file or directory .

RE: Change sigTTOU/TTIN to IGNORE by default

2001-01-15 Thread Simon Marlow
So it seems that there is possibly a feature/bug in the C library such that calling tcsetattr() always suspends a backgrounded process, regardless of the setting of TOSTOP. As yet, I haven't been able to find a workaround. :-( Yes, I went through a similar set of diagnoses myself after I

Re: Too Strict?

2001-01-15 Thread C.Reinke
Can someone help? The program below works fine with small files but when I try to use it on the one I need to (about 3 million lines of data) it produces no output. The hard disk is hammered - I assume this is the run time system paging. My suspicion is that the program is trying to read in

Too Strict?

2001-01-15 Thread Steinitz, Dominic J
Can someone help? The program below works fine with small files but when I try to use it on the one I need to (about 3 million lines of data) it produces no output. The hard disk is hammered - I assume this is the run time system paging. My suspicion is that the program is trying to read in

gui building in haskell

2001-01-15 Thread Matthew Liberty
Greetings, I've been looking at http://www.haskell.org/libraries/#guis and trying to figure out which package is "best" for building a gui. Can anyone give a comparison of the strengths/weaknesses of these packages (or any others)? thanks -Matt begin:vcard n:Liberty;Matthew

Re: Are fundeps the right model at all?

2001-01-15 Thread Tom Pledger
Marcin 'Qrczak' Kowalczyk writes: Mon, 8 Jan 2001 17:53:35 +1300, Tom Pledger [EMAIL PROTECTED] pisze: Having types with type variables which are never instantiated nor constrained should be equivalent to having ground types! Do you have any examples of such a type variable

FORMAL GRAMMAR/MATHEMATICS OF LANGUAGE'01

2001-01-15 Thread Ahti Pietarinen
[apologies if you receive this more than once] FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FGMOL'01 FORMAL GRAMMAR/MATHEMATICS OF LANGUAGE CONFERENCE August 10--12, 2001 Helsinki, Finland FIRST CALL FOR PAPERS

RE: Yet more on functional dependencies

2001-01-15 Thread Mark P Jones
| I am finding functional dependencies confusing. (I suspect I am | not alone.) Should the following code work? | | class HasConverter a b | a - b where |convert :: a - b | | instance (HasConverter a b,Show b) = Show a where |show value = show (convert value) It's a separate issue.

Re: Hash Functions

2001-01-15 Thread Jan Skibinski
On 12 Jan 2001, Steinitz, Dominic J wrote: I was thinking of using MD5 or SHA-1 for an application. Is there a Haskell library that contains these or other hash algorithms that have a very low probability of giving clashes? Dominic.

bootstrapping GHC

2001-01-15 Thread William Lee Irwin III
I've recently acquired access to SPARC and PPC Linux boxen. GHC 4.04 is presently bootstrapping on the SPARC, and I was wondering if there were PPC hc files floating about anywhere, or documentation on how to generate them. Thanks, Bill ___ Haskell

Re: Too Strict?

2001-01-15 Thread C.Reinke
Can someone help? The program below works fine with small files but when I try to use it on the one I need to (about 3 million lines of data) it produces no output. The hard disk is hammered - I assume this is the run time system paging. My suspicion is that the program is trying to read in

{-# LINE 100 Foo.hs #-} vs. # 100 Foo.hs

2001-01-15 Thread Marcin 'Qrczak' Kowalczyk
What should be the preferred way of marking correspondence to source positions after some preprocessing? Here is what is currently supported: | {-# LINE 100 "Foo.hs #-} | # 100 "Foo.hs" +--+ Released

A Regular Expression Library for Haskell

2001-01-15 Thread Shlomi Fish
Does such a thing exists? Is it part of Happy? Regards, Shlomi Fish -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ Home E-mail: [EMAIL PROTECTED] The prefix

RE: {-# LINE 100 Foo.hs #-} vs. # 100 Foo.hs

2001-01-15 Thread Simon Marlow
What should be the preferred way of marking correspondence to source positions after some preprocessing? Here is what is currently supported: | {-# LINE 100 "Foo.hs #-} | # 100 "Foo.hs" +--+--

IEEE Conference Software Maint. Italy,Florence, ICSM2001

2001-01-15 Thread NESI
Dear Colleague I would like to invite you to propose papers, experiences, tutorials, tool expositions, dissertations at the IEEE International Conference on Software Maintenance, 2001, and workshops: SCAM, WESS, WSE and TABOO, etc., November 2001, Florence, Italy. ICSM is the

Re: bootstrapping GHC

2001-01-15 Thread William Lee Irwin III
On Sun, Jan 14, 2001 at 04:05:47PM -0800, William Lee Irwin III wrote: I've recently acquired access to SPARC and PPC Linux boxen. GHC 4.04 is presently bootstrapping on the SPARC, and I was wondering if there were PPC hc files floating about anywhere, or documentation on how to generate

O'Haskell OOP Polymorphic Functions

2001-01-15 Thread Ashley Yakeley
How do you do OOP-style polymorphic functions in O'Haskell? My first attempt looked something like this: struct Base struct Derived Base = value :: Int theValue :: Base - Maybe Int theValue x = Just (x.value) -- problem line theValue _ = Nothing In the problem line, x is considered to

Re: Yet more on functional dependencies

2001-01-15 Thread Jeffrey R. Lewis
Mark P Jones wrote: | I am finding functional dependencies confusing. (I suspect I am | not alone.) Should the following code work? | | class HasConverter a b | a - b where |convert :: a - b | | instance (HasConverter a b,Show b) = Show a where |show value = show (convert

Re: gui building in haskell

2001-01-15 Thread Ashley Yakeley
At 2001-01-15 11:24, Jan Kort wrote: When Manuel's Haskell GTK+ binding (gtkhs) is finished it will be really cool. On top of gtkhs there are/will be many other libraries and tools: - iHaskell: a high level GUI library that avoids the eventloop mess. - GtkGLArea: 3D graphics in your GTK+