[Haskell-cafe] Re: APIs (was: Unexported functions are evil)

2005-05-18 Thread ajb
G'day all. Quoting Graham Klyne <[EMAIL PROTECTED]>: > I think you raise an important point. Reading this, I realize that I have > no principled basis for deciding what makes a good API, in any language. Me neither. Though I have short reading list. First off, this series of articles by Ken A

Re: [Haskell-cafe] Data types and Haskell classes

2005-05-18 Thread Dylan Thurston
On Tue, May 17, 2005 at 01:13:17PM +0200, Jens Blanck wrote: > > > How would I introduce number classes that are extended with plus and > > > minus infinity? I'd like to have polymorphism over these new classes, > > > something like a signature > > > > > > f :: (Real a, Extended a b) => b -> b > >

[Haskell-cafe] www.haskell.org

2005-05-18 Thread Colin Paul Adams
I'm trying to download a darcs client, but I get: "The connection was refused when trying to connect to www.haskell.org" from Firefox on Linux. -- Colin Adams Preston Lancashire ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.o

Re: [Haskell-cafe] Bit fiddling

2005-05-18 Thread Jeremy Shaw
Hello, There is also Hal Daume III's port of Binary from nhc98 which has some bit-fiddling features: http://www.n-heptane.com/nhlab/ Not sure if it is better than any of the other suggestions, but I thought I would mention it just in case. (note: the debian directory in there is unofficial for

Re: [Haskell-cafe] Python?

2005-05-18 Thread Jerzy Karczmarczuk
Bjorn Lisper wrote: Hi all, Finally I found some time to reply to this posting. A couple of years ago we did something called "Data Field Haskell", which is Haskell extended with a generalized form of arrays called data fields. Much of the purpose was to investigate convenient and general syntax fo

Re: [Haskell-cafe] APIs (was: Unexported functions are evil)

2005-05-18 Thread Claus Reinke
> I think you raise an important point. Reading this, I realize that I have > no principled basis for deciding what makes a good API, in any language. I > do, of course, have lots of personal ideas and feelings about what APIs > should be like, but not that I could defend as coherent and ratio

Re: [Haskell-cafe] Python?

2005-05-18 Thread Henning Thielemann
On Wed, 18 May 2005, Bjorn Lisper wrote: forall (i,j) -> i + j, a Vandermonde matrix This does not look like a Vandermonde http://mathworld.wolfram.com/VandermondeMatrix.html If you take reciprocals you obtain almost a Hilbert matrix. http://mathworld.wolfram.com/HilbertMatrix.html __

Re: [Haskell-cafe] Python?

2005-05-18 Thread Bjorn Lisper
Hi all, Finally I found some time to reply to this posting. A couple of years ago we did something called "Data Field Haskell", which is Haskell extended with a generalized form of arrays called data fields. Much of the purpose was to investigate convenient and general syntax for array constructio

[Haskell-cafe] APIs (was: Unexported functions are evil)

2005-05-18 Thread Graham Klyne
At 21:42 15/05/05 -0400, [EMAIL PROTECTED] wrote: Continuing on from the previous thought, part of the problem here is that we teach people to write code (e.g. how to implement a sort), but we don't teach people to write APIs. APIs are both trickier to get right AND are more important in larger pr

Re: [Haskell-cafe] Bit fiddling

2005-05-18 Thread Bulat Ziganshin
Hello Florian, Wednesday, May 18, 2005, 12:44:14 AM, you wrote: FW> I'm toying a bit with Haskell and wondering what's the best way to FW> implement bit fiddling. Most of my applications involve serializing FW> and deserializing small blobs (IP packets, for instance), and after FW> browsing the