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 t

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

2007-11-04 Thread Duncan Coutts
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 as necessary. However we would appreciate it if

Re: [Haskell-cafe] Efficient and type safe flag sets

2007-11-04 Thread Robert Dockins
On Sunday 04 November 2007 04:15:45 pm Henning Thielemann wrote: > 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. http://www.eecs.tufts.e

[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 (1<<0) /**< readable from this po

Re: [Haskell-cafe] Adding GLUT package to WinHugs

2007-11-04 Thread Peter Verswyvelen
Thanks Neil, That got me one step further. runhugs -98 Setup.hs configure works fine, but runhugs -98 Setup.hs build gives the error Preprocessing library GLUT-2.0.20060921... Building GLUT-2.0.20060921... 'c:\program' is not recognized as an internal or external command, operable program or

[Haskell-cafe] suggestion for HPDF (was: space leak?)

2007-11-04 Thread Massimiliano Gubinelli
Justin Bailey gmail.com> writes: > > Massimiliano, > > I had to update your code for it to compile (removed "sequence" from > testpdf'. However, I don't see any significant difference in the > memory profile of either testpdf or testpdf'. Thanks Justin, indeed the two programs seems to have t

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 wher

[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 locat

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

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

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 un

[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 fo

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,

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

2007-11-04 Thread Cale Gibbard
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 domain (haskell.org) > > Er, you want to torrent a 7 MB fil

Re: [Haskell-cafe] Rose Tree

2007-11-04 Thread Yitzchak Gale
Hi Ryan, > I need help... I am having trouble with rose trees. You've come to the right place! If this is homework, please look at: http://www.haskell.org/haskellwiki/Homework_help (But have patience. haskell.org seems to be bogged down at the moment, probably because of the release within the

Re: [Haskell-cafe] torrent for 6.8.1?

2007-11-04 Thread Bulat Ziganshin
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 where GHC project still exists. j

[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

Re: [Haskell-cafe] Could someone explain winhugs does not accept this argument?

2007-11-04 Thread Marc A. Ziegert
... > type Table = Signal (Address,Port) ... > lookup_pr::Signal Table->AbstExt Pkg->AbstExt Pkg > lookup_pr t (Prst(x,y,z)) > |(delive_adr_A t == y && x == U) = (Prst(x,y,z)) > |otherwise = look_if_RTD_pkG_A t (Prst(x,y,z)) ... > Type error in application > *** Expression : delive

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 w

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 <[EM