RE: ghc 6.0.1 and Mac OS X 10.2.6 build

2003-09-15 Thread Simon Marlow
:-P * * * Seriously: Should the configure script run tests via rsh/ssh? And what if the target platform can't be reached remotely? I've never seen such an autoconf trick before... Just provide a script that can be run (by hand) on the target platform and a way to port the results back to

Re: compiler bug? sunos 5.8, ghci-6.0.1 -package unix

2003-09-15 Thread Volker Stolz
In local.glasgow-haskell-bugs, you wrote: and the some for the precompiled version, i getting the following error. Loading package unix ... linking ... /home/xxx/local/lib/HSunix.o: unknown symbol `sendfile' Hrmph. Sorry for the hassle. Please try adding sendfile to the list of

[ ghc-Bugs-806622 ] fileExist throws exception when file does not exist

2003-09-15 Thread SourceForge.net
Bugs item #806622, was opened at 2003-09-15 09:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=806622group_id=8032 Category: hslibs/posix Group: 6.0.1 Status: Open Resolution:

DONATION FOR THE LORD.

2003-09-15 Thread maggi_hatch
FROM: Margeret hatch. I am the above named person from Kuwait. I am married to Mr. Kazeem Hatch who worked with Kuwait embassy in Ivory Coast for nine years before he died in the year2001. We were married for eleven years without a child.He died after a brief illness that lasted for only

RE: stg_ap_v_ret porting crash: solved?

2003-09-15 Thread Simon Marlow
Am I right in thinking that by just putting GhcUnregisterised=YES SplitObjs=NO in mk/build.mk every time you build GHC it ought to not only work on arches with bit-rotted mangler support but also those with none attempted? Where work means compiles the same set of programs, but the

RE: stg_ap_v_ret porting crash: solved?

2003-09-15 Thread Simon Marlow
# I ^C it after a little while: Program received signal SIGINT, Interrupt. 0x1212c62b0 in StgRun () at StgCRun.c:6 6* STG-to-C glue. So it stalls or loops (it sits at 98% of cpu) on entry to stg_init(). More info will have to wait until I try a debug build. Try

I NEED YOUR URGENT ASSISTANCE

2003-09-15 Thread victor michelle
ATTN: HANS, I am BARRISTER VICTOR MICHELLE (ESQ)A Solicitor. I am the Personal Attorney to Mr. JAMES HANS a national of your country,who used to work with Chevron company in Nigeria.On the 21st of April 2000, my client, his wife And their three children were involved in a car accident along

I NEED YOUR URGENT ASSISTANCE

2003-09-15 Thread victor michelle
ATTN: Natasa , I am BARRISTER VICTOR MICHELLE (ESQ)A Solicitor. I am the Personal Attorney to Mr. JAMES Natasa a national of your country,who used to work with Chevron company in Nigeria.On the 21st of April 2000, my client, his wife And their three children were involved in a car accident

AWARD WINNING NOTIFICATION

2003-09-15 Thread primitivalottery
LOTTERY LA PRIMITIVA. C/GUZMAN EL BUENO,137 MADRID - ESPAÑA. TEL: +34-690 155 540 AND FAX +34-916-137-350. FROM: THE DESK OF THE PROMOTIONS MANAGER, INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT, REF: LP/26510460037/02 BATCH: 24/00319/IPD. ATTN:

Re: stg_ap_v_ret porting crash: solved?

2003-09-15 Thread Ian Lynagh
On Mon, Sep 15, 2003 at 03:18:43PM +0100, Simon Marlow wrote: Starting with a reg compiler producing reg code and iterating a standard configure/make/make install with 6.0.1 gives these numbers on x86: 70m5.850s 86m27.550s 86m26.350s so it looks like this is about 25%

RE: stg_ap_v_ret porting crash: solved?

2003-09-15 Thread Simon Marlow
What are the binary sizes like? magdcalc is 2730251 (reg) 7697141 (unreg) before stripping and 1375696 (reg) 4771196 (unreg) after. A lot of that difference is due to the absence of SplitObjs on the unregisterised build, so don't worry too much. Cheers, Simon

Heap profiling - breakdown by type

2003-09-15 Thread Kirsten Chevalier
Currently, the -hy RTS option for heap profiling by type doesn't print a summary of the amount allocated for each type, only the amount of data that was live at a given instant. How hard would it be to change it to print out total amounts allocated over the entire run of the program for each type

Re: lexer puzzle

2003-09-15 Thread Malcolm Wallace
Marcin 'Qrczak' Kowalczyk [EMAIL PROTECTED] writes: A... A (constructor), then ... (operator). This is how I understand Haskell 98 lexing rules. Argh, I was wrong. It's A.. (qualified operator), then . (operator). You are forgetting about the maximal munch rule. An operator

RE: lexer puzzle

2003-09-15 Thread Simon Marlow
Iavor Diatchki writes: what do people think should be the tokens produced by a haskell lexer when applied to the following input: A... This has been discussed before (a while back, admittedly). See: http://www.mail-archive.com/[EMAIL PROTECTED]/msg04054.html GHC (still) gets this

Re: lexer puzzle

2003-09-15 Thread Arthur Baars
I agree with Marcin, A... should be split into A.. and . As I read the (on-line) report the maximal munch rule says that you should read the longest lexeme. It does not say that two operators have to be separated by whitespace. Because A... is not a lexeme, the longest lexeme you can read

RE: lexer puzzle

2003-09-15 Thread Simon Marlow
I agree with Marcin, A... should be split into A.. and . As I read the (on-line) report the maximal munch rule says that you should read the longest lexeme. It does not say that two operators have to be separated by whitespace. Because A... is not a lexeme, the longest lexeme you

How can I implement this arrow? Thanks

2003-09-15 Thread Yu Di
Hi, I want to create an arrow which is essentially data MyArrow a b = MyArrow ((String, a) - (String,b)) i.e. there is an information asscioated with each piece of data (represented by the string), and I want to pass it around. But I have a problem about how to define pure and first. At first,

Re: How can I implement this arrow? Thanks

2003-09-15 Thread Marc A. Ziegert
Am Dienstag 16 September 2003 04:57 schrieb Yu Di: Hi, I want to create an arrow which is essentially data MyArrow a b = MyArrow ((String, a) - (String,b)) i.e. there is an information asscioated with each piece of data (represented by the string), and I want to pass it around. But I

Re: threaded red-black tree

2003-09-15 Thread andrew cooke
this might help: http://www.cs.kent.ac.uk/people/staff/smk/redblack/Untyped.hs andrew Lex Stein said: Hi, No one responded to my question several weeks ago about a purely functional implementation of a threaded, red-black tree. My message was sent about the same time as that flurry of

Read file problems

2003-09-15 Thread Frederic BELLOC
HI, I have a recurrent probleme with function readFile and Monad : it is that i try to get a line, transform it and stock it in a list and what i want is that function return me the list. But hugs say me that in readFile my_file = \s - map cons_line (lines s) readFile is a IO String type but is

Re: Instance checking and phantom types

2003-09-15 Thread Sven Panne
Nick Name wrote: Hi all, I have an example wich I don't understand: First of all, let's rename the constructors and types a bit to make things clearer add the instance in question, and remove the type signatures: module Main where

Re: Instance checking and phantom types

2003-09-15 Thread Sven Panne
Nick Name wrote: Got it ;) Thanks for prompt reply. What does should always be explicit mean? Is there a notion of explicit context that I should know? What I meant was the fact that you always have to write down *all* contexts involved in a type signature. Nothing is inherited under the hood by