Re: pretty newby

2003-09-23 Thread Malcolm Wallace
Luc Taesch [EMAIL PROTECTED] writes: are there any facility to pretty print an haskell program ? im aware of HPJ combinators library, but i was looking for a command line utility, rather.. am i missing an entry in HPJ ? To some extent, you can use an ordinary Haskell compiler to pretty-print

Re: pretty newby

2003-09-23 Thread Per Larsson
On Tuesday 23 September 2003 16.05, Luc Taesch wrote: are there any facility to pretty print an haskell program ? im aware of HPJ combinators library, but i was looking for a command line utility, rather.. am i missing an entry in HPJ ? thanks Luc

Re: pretty newby

2003-09-23 Thread Nick Name
Alle 16:05, martedì 23 settembre 2003, Luc Taesch ha scritto: are there any facility to pretty print an haskell program ? If what you need is an external program and not a library, have a look at GNU a2ps. Vincenzo ___ Haskell mailing list [EMAIL

Re: lexer puzzle

2003-09-23 Thread Marcin 'Qrczak' Kowalczyk
Thus, the only possible lexical interpretation is the one you first suggested, namely a constructor A followed by a three-dot operator A... should be split into A.. and . I found a compromise: let's make it a lexing error! :-) -- __( Marcin Kowalczyk \__/ [EMAIL

Heap profiling dumped NULs

2003-09-23 Thread Ketil Z. Malde
Hi, I can't reproduce it, but on one occasion running profiling with -hd, I got corrupt .hp output, with a large block of NULs in an otherwise normal output (The output is large, but I can make it available if anybody wants it). Rerunning the exact same command line produced a normal .hp. Just

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

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

[ ghc-Bugs-806633 ] doesDirectoryExist / == False

2003-09-23 Thread SourceForge.net
Bugs item #806633, was opened at 2003-09-15 16:35 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=806633group_id=8032 Category: None Group: None Status: Closed Resolution: Fixed Priority: 5

[ ghc-Bugs-631320 ] {-# OPTIONS -O0 #-} not allowed

2003-09-23 Thread SourceForge.net
Bugs item #631320, was opened at 2002-10-30 23:57 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=631320group_id=8032 Category: Compiler Group: 5.04.1 Status: Closed Resolution: Fixed Priority:

Re: Haddock interface file for standard libraries

2003-09-23 Thread Peter Simons
Simon Marlow writes: /usr/share/ghc-6.0.1/html/*/*.haddock. Hmm, why is it that every question I asks resolves in a way that makes me look blind or dumb? :-) Thanks for the quick help! Peter ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED]

RE: Haddock interface file for standard libraries

2003-09-23 Thread Simon Marlow
I have another short question concerning the build process: Is there any easy way to generate a Haddock interface file for the standard libraries? I'd like my own documentation to contain links to standard data types and functions, but processing the library sources directly turned out to

WINNING NOTIFICATION !

2003-09-23 Thread marcwilliams
ELGORDO DE LAPRIMITIVA C/GUZMAN EL BUENO,137

COOPERATION

2003-09-23 Thread SADKO INTERNATIONAL COMPANY
Dear Ladies and Gentlemen Those yahcts which listed below will offer you %10 commission, In this list below the prices are very low than the worlds market. O L G A P R I C E 440.000 PROPERTIESEQUIPMENTSACOMMODATION Type Ketch Dingy, 21 kWa Generator4Double Cabins Wc+

Re: Thanks: (was Question about categories)

2003-09-23 Thread Florian Hars
Bill Halchin wrote: Here is the book plus many other llongo papers: http://www.di.ens.fr/users/llongo/download.html s/llongo/longo/ ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: garbage collection and Ptr/ForeignPtr/StablePtr

2003-09-23 Thread Alastair Reid
On Monday 22 September 2003 12:10 pm, Bayley, Alistair wrote: Should I expect that Ptr memory allocated with malloc is garbage collected when no longer used by the Haskell runtime? The FFI spec doesn't say so explicitly (that I could see); C programs use pointers in many ways: pointers to

Re: Generating setMember functions for record structures

2003-09-23 Thread Malcolm Wallace
Peter Simons [EMAIL PROTECTED] writes: setFoo:: State - [Int] - State setFoo st x= State { foo = x , bar = bar st } There is an easier way to do this, using the record update syntax rather than record construction syntax. e.g.

Database interface - would like advice on oracle library binding

2003-09-23 Thread Bayley, Alistair
(2nd attempt; mailman thinks I'm not a list member, but it still keeps sending me mail.) Still making slow progress on an Oracle database binding... now I'm trying to fit the API I have into some sort of abstract interface (like the one(s) discussed previously:

Database interface - would like advice on oracle library binding

2003-09-23 Thread Tom Pledger
Bayley, Alistair writes: : | Still making slow progress on an Oracle database binding... now I'm trying | to fit the API I have into some sort of abstract interface (like the one(s) | discussed previously: | http://haskell.org/pipermail/haskell-cafe/2003-August/004957.html ). | | | 1.