Re: [Haskell-cafe] monads once again: a newbie perspective

2006-08-25 Thread Andy Elvey
On Thu, 2006-08-24 at 20:53 +0200, Andrea Rossato wrote: Hello! I' m new to Haskell and try to find my way through types and monads. I tried the yet Another Haskell Tutorial, very useful for types, but almost unreadable for monads (that's my perspective!). Then I discovered that wonderful

Re: [Haskell-cafe] implementing a csv reader

2006-08-23 Thread Andy Elvey
On Tue, 2006-08-22 at 11:59 +0200, Tamas K Papp wrote: On Tue, Aug 22, 2006 at 11:26:45AM +0200, Henning Thielemann wrote: See also http://www.xoltar.org/languages/haskell.html http://www.xoltar.org/languages/haskell/CSV.hs Thanks. Haskell is incredibly neat ;-) Now I

[Haskell-cafe] The possibility of a real OS based on Haskell zippers

2006-07-30 Thread Andy Elvey
Hi everyone - I'm very much a Haskell newbie, but have followed Haskell (and the various Haskell sites) for quite a few months now, and I absolutely *love* the language. One thing that **fascinated** me a while ago was the site which gave Haskell code for a Haskell-based fileserver/OS using

Re: [Haskell-cafe] Seeking a small bug-fix for previously-posted code

2005-08-16 Thread Andy Elvey
Stefan Holdermans wrote: Andy, Many thanks again - I'll make this my last post for at least a week or two (to give others some bandwidth) - Well, if you are having difficulties learning the language, you really shouldn't hold back on asking questions, of course. So, please, do ask those

Re: [Haskell-cafe] Seeking a small bug-fix for previously-posted code

2005-08-15 Thread Andy Elvey
Bulat Ziganshin wrote: Hello Stefan, Sunday, August 14, 2005, 2:05:00 PM, you wrote: SH let format line = [ ++ concat (intersperse , (words line)) ++ ] SH return $ map (mkVec . read . format) $ lines str -- CORRECTED or just return $ map (mkVec . map read . words) $ lines str Hi

[Haskell-cafe] Seeking a small bug-fix for previously-posted code

2005-08-14 Thread Andy Elvey
Hi all - I'm trying to run some code posted recently on this list ( the exact URI is as follows - http://comments.gmane.org/gmane.comp.lang.haskell.cafe/7860 ( The reason I'm doing this is because this code is quite close to what I'm trying to do. ) Anyway, I saved the code in a file

Re: [Haskell-cafe] Creating a Haskell app to do crosstabs

2005-08-11 Thread Andy Elvey
Bulat Ziganshin wrote: snip btw, afaik Spirit is modeled after ParseC (parsing combinators) haskell library and Phoenix was needed for this library because parser combinators require lazy functional language to work :) Hi Bulat - thanks for this! I didn't know that about Phoenix.

Re: [Haskell-cafe] Creating a Haskell app to do crosstabs

2005-08-11 Thread Andy Elvey
Greg Buchholz wrote: Andy Elvey wrote: a) Using Haskell to read a delimited file (with column-headings) into a columnar or tabular data-structure - Parsec (http://www.cs.uu.nl/~daan/parsec.html) is a great parsing library in Haskell. Greg Buchholz Hi Greg - thanks very

[Haskell-cafe] Creating a Haskell app to do crosstabs

2005-08-10 Thread Andy Elvey
Hi everyone - I'm a relative newcomer to Haskell, and am very much besotted with it - it's a great language! :-) At the moment, I'm in the early stages of putting together a little Haskell-like language using the Spirit parser framework (Spirit is part of the Boost C++ libraries).

Re: [Haskell-cafe] (Re arrows and Haskell) ...

2004-11-06 Thread Andy Elvey
On Saturday 06 November 2004 08:36 am, you wrote: snip It might be an immense project, but I also think it would be interesting. I wonder if Haskell would be much faster after being restructured around arrows. If an arrow-based version of Haskell existed, I'd love to try it. I think

Re: [Haskell-cafe] Re: Arrows and Haskell

2004-11-06 Thread Andy Elvey
On Saturday 06 November 2004 05:49 pm, Peter Simons wrote: Since I have been experimenting with Arrows quite a bit just recently, I feel compelled to add something to the discussion. I too think that Arrow are a beautifully simple and elegant concept. However, once you write production

[Haskell-cafe] Defining Haskell using arrows

2004-11-05 Thread Andy Elvey
Hi all - I'm a first-timer here, and am *very* much attracted by Haskell's elegance and power ... :-) I have only poked around briefly with Haskell so far (at the hello world level). One thing that I have come across, and which really got me thinking, was the page on the Haskell

[Haskell-cafe] (Re arrows and Haskell) ...

2004-11-05 Thread Andy Elvey
Hi again - Apologies for another post from me so soon (and for replying to my own post). Regarding my post about arrows and Haskell (and the idea of trying to define Haskell's grammar in terms of arrows) - upon thinking about that, I'm pretty much of the opinion that it'd be an