Re: [Haskell-cafe] Rose Tree

2007-11-04 Thread Andrew Wagner
I think it's not at all clear what you're asking for here. can you give an example inputs and outputs you'd expect? It looks like you're trying to implement some kind of dictionary or something? Also, have you looked at the library Data.Tree? It might be useful for you. On 11/3/07, Ryan Bloor

Re: [Haskell-cafe] Why does GHC limit stack size?

2007-11-04 Thread Derek Elkins
On Sat, 2007-11-03 at 11:40 +, Adrian Hey wrote: Bulat Ziganshin wrote: because program that require 8mb stack, will probably require 8gb when processing more data :) So.. what? You could say the same about heap, which was rather the point of the earlier thread. I personally would

[Haskell-cafe] Re: torrent for 6.8.1?

2007-11-04 Thread Alex Tarkovsky
brad clawsie wrote: do torrents exist for 6.8.1? my experience is that people will use torrents if they are offered and they really do lift the pressure from the origin domain (haskell.org) Er, you want to torrent a 7 MB file? ;) That would be a waste of effort and resources server-side, and a

Re: [Haskell-cafe] Rose Tree

2007-11-04 Thread Kalman Noel
Ryan Bloor: Data Tree a = Empty | Leaf a | Node a [(Tree a)] The Leaf constructor seems superfluous to me. Any (Leaf x) value is equivalent to (Node x []). So I rather just have data Tree a = Empty | Node a [Tree a] which will mean less work for your task of writing processing functions,

[Haskell-cafe] Help please

2007-11-04 Thread Ryan Bloor
hello, I am struggling with rose trees in Haskell. I need to construct an algebraic data type definition for family trees and a representation of the tree below. Also I need to construct a function that returns a persons children when given both a family tree and a name. The same is needed but for

Re[2]: [Haskell-cafe] Re: torrent for 6.8.1?

2007-11-04 Thread Bulat Ziganshin
Hello Cale, Sunday, November 4, 2007, 1:52:08 PM, you wrote: especially when nobody will bother to seed it. I'm sure most *nix users get GHC from their distribution's mirrors anyhow. Mirrors are really what you need. ;) 1. there are many windows users 2. afaiu the situation, official unix

Re: Re[2]: [Haskell-cafe] Re: torrent for 6.8.1?

2007-11-04 Thread Neil Mitchell
Hi The binaries are ~47MiB apiece. I suspect that almost everyone on Windows and Linux x86 will want the binaries too, since compiling GHC tends to take a while. Anyway, it seems like haskell.org is becoming more responsive now, but it would be something to keep in mind for the future.

Re: [Haskell-cafe] Re: torrent for 6.8.1?

2007-11-04 Thread Ian Lynagh
On Sun, Nov 04, 2007 at 05:52:08AM -0500, Cale Gibbard wrote: On 04/11/2007, Alex Tarkovsky [EMAIL PROTECTED] wrote: brad clawsie wrote: do torrents exist for 6.8.1? my experience is that people will use torrents if they are offered and they really do lift the pressure from the origin

[Haskell-cafe] some links broken in 6.8.1 documentation

2007-11-04 Thread Daniil Elovkov
Hello folks A quick look at the 6.8.1 user's guide reveals some broken links: 1) Obtaining code coverage, pointing to http://haskell.org/ghc/docs/6.8.1/html/users_guide/hpc.html redirects to http://projects.unsafeperformio.com/hpc.html which tells that it's not found but guesses at another

Re: [Haskell-cafe] torrent for 6.8.1?

2007-11-04 Thread Andrew Coppin
Bulat Ziganshin wrote: Hello brad, Sunday, November 4, 2007, 6:00:27 AM, you wrote: do torrents exist for 6.8.1? my experience is that people will use torrents if they are offered and they really do lift the pressure from the origin domain (haskell.org) or we can use SourceForge

[Haskell-cafe] Efficient and type safe flag sets

2007-11-04 Thread Henning Thielemann
We have http://www.haskell.org/haskellwiki/EnumSet_EnumMap Is there also an efficient implementation for bit sets that fit into a machine word? This would be useful for foreign function interfaces. E.g. where C defines #define SND_SEQ_PORT_CAP_READ (10) /** readable from this port

Re: [Haskell-cafe] package maintainers: updating your packages to work with GHC 6.8.1

2007-11-04 Thread Henning Thielemann
On Mon, 5 Nov 2007, Duncan Coutts wrote: If you maintain a Haskell package this is for you. So now that GHC 6.8.1 is out you'll want to test your package with it. We'd especially like maintainers of packages that are distributed on hackage.haskell.org to test their packages and update them