[Haskell-cafe] ghci stack overflow

2006-11-19 Thread jim burton
This code produces a stack overflow in ghci when I call `makeSpiral' with large values, e.g. big enough to produce a 1001x1001 spiral. (makeSpiral produces a list of lists which form a clockwise 'spiral', it's a puzzle from mathschallenge.net.) I'm sure there is a way to increase the stack space

Re: [Haskell-cafe] Arrows tutorial

2006-11-19 Thread Tim Newsham
http://www.thenewsh.com/~newsham/x/arrow.txt Why not shove it on the wiki? Then everyone can find it, improve it, and treasure it forever more. Its now fair game. Thanks for the help, Neil. http://www.haskell.org/haskellwiki/Arrow_tutorial Neil Tim Newsham http://www.thenewsh.com/~n

Re: [Haskell-cafe] Arrows tutorial

2006-11-19 Thread Neil Mitchell
Hi Small arrows tutorial (sorta, I'm learning myself and trying to doc as I go): http://www.thenewsh.com/~newsham/x/arrow.txt Why not shove it on the wiki? Then everyone can find it, improve it, and treasure it forever more. Thanks Neil ___ Has

Re: [Haskell-cafe] importing Distribution.Compat.FilePath fails

2006-11-19 Thread Alistair Bayley
On 18/11/06, Magnus Therning <[EMAIL PROTECTED]> wrote: Could not find module `Distribution.Compat.FilePath': it is hidden (in package Cabal-1.1.6) I want to use 'joinFileName'. Try upgrading to 1.1.6.1. This explains why: http://www.haskell.org/pipermail/libraries/2006-October/005996.ht

[Haskell-cafe] Arrows tutorial

2006-11-19 Thread Tim Newsham
Small arrows tutorial (sorta, I'm learning myself and trying to doc as I go): http://www.thenewsh.com/~newsham/x/arrow.txt comments welcome. I ran into a type issue I couldnt resolve. I'd love any comments on that (documented near the bottom, liftA2'). Also, I'd like to put some info about

Re[2]: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Bulat Ziganshin
Hello Jason, Sunday, November 19, 2006, 3:55:05 PM, you wrote: >> I'll give it a try. Of course I take this opportunity to solicit >> suggestions for a name for this application. Which is to say, what >> colour should my bike shed be? ;-) > I'd say have fun with it :) me, me too! :) HelloHaske

Re[2]: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Bulat Ziganshin
Hello Donald, Sunday, November 19, 2006, 4:32:10 PM, you wrote: > For entirely new projects, mkcabal --init-project > creates an entire new project tree. > $ runhaskell mkcabal.hs --init-project i think it should be asked instead of using option. and in general it will be better to split th

Re[2]: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Bulat Ziganshin
Hello Jason, Sunday, November 19, 2006, 3:08:53 PM, you wrote: > great way to get some fame in the community). I'm imagining the tool > looks at your darcs repository, asks you a few questions and then > generates a .cabal file. and another one which looks at the cabal file and generates darcs

Re[2]: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Bulat Ziganshin
Hello Dougal, Sunday, November 19, 2006, 2:10:09 PM, you wrote: >> P.S. It might even be useful to have a tool, haskell-project, which >> sets up all these files automatically. > I was wondering about that just the other day. Is there such an > application to interrogate the user about particula

[Haskell-cafe] Re: jhc, whole program optimizing compiler.

2006-11-19 Thread Benjamin Franksen
[EMAIL PROTECTED] wrote: > Do anyone had any experience with JHC? > > I tried to install it second time and again get an error during library > build. > > It's a pity, we need a speed in our very lazy code. ;) I had the same problem and asked John. He explained why and told me how to proceed: >

[Haskell-cafe] jhc, whole program optimizing compiler.

2006-11-19 Thread [EMAIL PROTECTED]
Do anyone had any experience with JHC? I tried to install it second time and again get an error during library build. It's a pity, we need a speed in our very lazy code. ;) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.or

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Dougal Stanton
Quoth Donald Bruce Stewart, nevermore, > Ok, done! Hehe, you can't leave this community alone for a second... Oh well, that'll teach me to volunteer for something and then take a few hours away from the computer! ;-) D. ___ Haskell-Cafe mailing list Has

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Joachim Breitner
Hi, Am Montag, den 20.11.2006, 00:32 +1100 schrieb Donald Bruce Stewart: > For entirely new projects, mkcabal --init-project > creates an entire new project tree. > > $ runhaskell mkcabal.hs --init-project > Project name: ruby-on-rails-killer > Created new project directory: ruby-on-r

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Ross Paterson
On Sun, Nov 19, 2006 at 03:41:29PM +1100, Donald Bruce Stewart wrote: > http://haskell.org/haskellwiki/How_to_write_a_Haskell_program > > Feedback welcome! There is inconsistent advice regarding Setup.hs/Setup.lhs. (#! in .hs files seems to be a feature of GHC Haskell.) For releases, another

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Donald Bruce Stewart
dons: > dagit: > > On 11/19/06, Dougal Stanton <[EMAIL PROTECTED]> wrote: > > >Quoth Donald Bruce Stewart, nevermore, > > >> P.S. It might even be useful to have a tool, haskell-project, which > > >> sets up all these files automatically. > > > > > >I was wondering about that just the other day. Is

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Jason Dagit
On 11/19/06, Dougal Stanton <[EMAIL PROTECTED]> wrote: Quoth Jason Dagit, nevermore, > Do we have any enthusiastic people to take this on? I bet you could > have something usable in less than a days worth of hacking. I'll give it a try. Of course I take this opportunity to solicit suggestions f

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Donald Bruce Stewart
dagit: > On 11/19/06, Dougal Stanton <[EMAIL PROTECTED]> wrote: > >Quoth Donald Bruce Stewart, nevermore, > >> P.S. It might even be useful to have a tool, haskell-project, which > >> sets up all these files automatically. > > > >I was wondering about that just the other day. Is there such an > >ap

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Chris Kuklewicz
Dougal Stanton wrote: > Quoth Jason Dagit, nevermore, >> Do we have any enthusiastic people to take this on? I bet you could >> have something usable in less than a days worth of hacking. > > I'll give it a try. Of course I take this opportunity to solicit > suggestions for a name for this applic

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Dougal Stanton
Quoth Jason Dagit, nevermore, > Do we have any enthusiastic people to take this on? I bet you could > have something usable in less than a days worth of hacking. I'll give it a try. Of course I take this opportunity to solicit suggestions for a name for this application. Which is to say, what col

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Jason Dagit
On 11/19/06, Dougal Stanton <[EMAIL PROTECTED]> wrote: Quoth Donald Bruce Stewart, nevermore, > P.S. It might even be useful to have a tool, haskell-project, which > sets up all these files automatically. I was wondering about that just the other day. Is there such an application to interrogate

Re: [Haskell-cafe] Starting your own Haskell project: part 2

2006-11-19 Thread Dougal Stanton
Quoth Donald Bruce Stewart, nevermore, > P.S. It might even be useful to have a tool, haskell-project, which > sets up all these files automatically. I was wondering about that just the other day. Is there such an application to interrogate the user about particulars and then create a fully compli