Re: Towards a more OO Haskell

1999-08-27 Thread Martin Norb{ck
--0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Fri Aug 27 1999, Michael Hobbs -> > But to reiterate the point of this message, would anybody be interested > in a preprocessor that reads in some sort of class/interface definition > and sp

Re: Licenses and Libraries

1999-08-27 Thread Manuel M. T. Chakravarty
Hannah Schroeter <[EMAIL PROTECTED]> wrote, > On Mon, Aug 23, 1999 at 12:03:25AM +1000, Manuel M. T. Chakravarty wrote: > > [...] > > > Anyway, I am still thinking about adapting H/Direct to work > > with GNOME (www.gnome.org - the GNU answer to COM, DCOM, and > > ActiveX) when I am through with

Re: Haskell HTTP lib?

1999-08-27 Thread Tommy Thorn
Sven Panne wrote/a ecrit/skrev: > William Lee Irwin III wrote: > > Personally, I'd like to see some equivalent of the C system call > > select(2) in GHC's socket library; [...] > > About a year ago this has been discussed, but the implementation has > somehow vanished from GHC's sources. Strange.

Re: Full laziness (was Re: Q: hugs behavior...)

1999-08-27 Thread Mike Thyer
Simon Peyton-Jones wrote: > > func n = map (func' n) [1..10] > > func' x y = nfib x > > There isn't a free subexpression to lift out of func. No, but as Adrian Hey quite correctly points out there is a free subexpression in func' that can be lifted out of its enclosing (\y->...). > Try this >

Bcc: Re: Haskell HTTP lib?

1999-08-27 Thread Manuel M. T. Chakravarty
To: [EMAIL PROTECTED] Subject: Re: Haskell HTTP lib? In-Reply-To: Your message of "Fri, 27 Aug 1999 10:06:01 +0200" <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit M

Re: Towards a more OO Haskell

1999-08-27 Thread Michael Hobbs
Martin Norb{ck wrote: > Have you looked at Haskell++? > http://www.cs.chalmers.se/~rjmh/Software/h++.html Wasn't aware of its existence. Thanks for the pointer. I'll be sure to look into it. - Michael Hobbs

Re: Units of measure

1999-08-27 Thread Tom Pledger
Thanks for all the replies. I'm nervous about fixing the arity of Unit, in any language used for commercial applications. Herbert Graeber writes: > [...] > > Using C++, one can define templates for proper handling of units without > additional language extensions: > > template >

Re: Haskell HTTP lib?

1999-08-27 Thread Sven Panne
William Lee Irwin III wrote: > Personally, I'd like to see some equivalent of the C system call > select(2) in GHC's socket library; [...] About a year ago this has been discussed, but the implementation has somehow vanished from GHC's sources. Strange... http://www.dcs.gla.ac.uk/mail-www/gla

Towards a more OO Haskell

1999-08-27 Thread Michael Hobbs
I have been "scratching a personal itch" lately and was wondering if anyone else has the same itch. If so, I might spend some time to codify a sort of preprocessor that produces a more OO Haskell. Right now I'm doing all of the transformations by hand, instead of relying on an automated tool. Som

RE: Full laziness (was Re: Q: hugs behavior...)

1999-08-27 Thread Adrian Hey
On Fri 27 Aug, Simon Peyton-Jones wrote: > > func n = map (func' n) [1..10] > > func' x y = nfib x > > There isn't a free subexpression to lift out of func. I had always imagined that in a fully lazy language a function like Mike Thyers example would get transformed into something like this..

Re: Haskell HTTP lib?

1999-08-27 Thread Claus Reinke
>> > I suppose, if the haskell->jni stuff is done, that would count, but I am >> > not sure of its status. >> >> That (Lambada) is being worked on. > > From the below, it sounds like Lambada (great name!) is for Java calling >Haskell. I want Haskell to call Java. What good are HTTP servers a

Re: Licenses and Libraries

1999-08-27 Thread Hannah Schroeter
Hello! On Mon, Aug 23, 1999 at 12:03:25AM +1000, Manuel M. T. Chakravarty wrote: > [...] > Anyway, I am still thinking about adapting H/Direct to work > with GNOME (www.gnome.org - the GNU answer to COM, DCOM, and > ActiveX) when I am through with GTK+. Better make it work with Corba, which is

Re: Haskell HTTP lib?

1999-08-27 Thread Sven Panne
"S. Alexander Jacobson" wrote: > There is that consistent FFI problem again. It's not only something not covered in Haskell 98, but the language and the libraries itself (see chap. 9 in the Hugs manual). The module system differs in some subtle ways, the IO module misses a lot of functionality, e

Re: Haskell HTTP lib?

1999-08-27 Thread William Lee Irwin III
On Fri, Aug 27, 1999 at 10:06:01AM +0200, Sven Panne wrote: > I've got no idea when the "Great Merger" is finished, hence my > suggestion above. Note that I'm not flaming against Hugs, I was actually > a real fan of it, and I know that in academia you earn *nothing* for > implementing hSeek and fr

RE: Full laziness (was Re: Q: hugs behavior...)

1999-08-27 Thread Simon Peyton-Jones
There's a whole chapter on full laziness in my book; and a paper in Software Practice and Experience A modular fully-lazy lambda lifter in Haskell, SL Peyton Jones and D Lester, Software Practice and Experience 21(5), May 1991, pp479-506. The latter is available on my publications page http://re