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 GHC

[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

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

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 which clearly

[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