Re: [Haskell-cafe] Parsing words with parsec

2007-03-30 Thread Paolino
On 3/30/07, Stefan O'Rear [EMAIL PROTECTED] wrote: On Fri, Mar 30, 2007 at 05:43:34AM +0200, paolino wrote: Hi, I had a bad time trying to parse the words of a text. I suspect I miss some parsec knowledge. I'd start by not sextuple-posting, it just sextuples the ugliness ;-) Mhh,

RE: [Haskell-cafe] sending from Gmail (was Parsing words with parsec)

2007-03-30 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paolino I'd start by not sextuple-posting, it just sextuples the ugliness ;-) Mhh, still I don't see any them in my inbox mails , probably something buggy in gmail configuration, sorry :/. Are you expecting to see your sent

Re: [Haskell-cafe] sending from Gmail (was Parsing words with parsec)

2007-03-30 Thread Paolo Veronelli
On Friday 30 March 2007 11:44, Bayley, Alistair wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paolino I'd start by not sextuple-posting, it just sextuples the ugliness ;-) Mhh, still I don't see any them in my inbox mails , probably something buggy in gmail

Re: [Haskell-cafe] sending from Gmail (was Parsing words with parsec)

2007-03-30 Thread Dougal Stanton
On 30/03/07, Bayley, Alistair [EMAIL PROTECTED] wrote: Mhh, still I don't see any them in my inbox mails , probably something buggy in gmail configuration, sorry :/. Are you expecting to see your sent message eventually arrive in your inbox? gmail doesn't do that by default (and I don't see

Re: [Haskell-cafe] sending from Gmail (was Parsing words with parsec)

2007-03-30 Thread Paolo Veronelli
On Friday 30 March 2007 11:54, Dougal Stanton wrote: On 30/03/07, Bayley, Alistair [EMAIL PROTECTED] wrote: Mhh, still I don't see any them in my inbox mails , probably something buggy in gmail configuration, sorry :/. Are you expecting to see your sent message eventually arrive in

Re: [Haskell-cafe] Monad/Functor Book

2007-03-30 Thread jim burton
Dave-86 wrote: Given the amount of material posted at haskell.org and elsewhere explaining IO, monads and functors, has anyone considered publishing a comprehensive book explaining those subjects? (I am trying to read all the material online, but books are easier to read and don't

Re: [Haskell-cafe] Compiling GHC

2007-03-30 Thread Ian Lynagh
On Fri, Mar 30, 2007 at 04:36:32PM +1000, Chris Witte wrote: I'm tying to compile GHC under mingw (winxp with mingw no cygwin), Loading package base ... linking ... ghc.exe: unable to load package `base' ghc.exe: C:/msys/1.0/local/HSbase.o: unknown symbol `_gettimeofday' any ideas on

[Haskell-cafe] Data.ByteStream.Char8.words performance

2007-03-30 Thread Dino Morelli
I noticed something about ByteStream performance that I don't understand. I have a test text document: $ ls -sh test-text-file 956K test-text-file Running this program, using the Prelude's IO functions: module Main where main = do content - readFile test-text-file let l =

Re: [Haskell-cafe] Data.ByteStream.Char8.words performance

2007-03-30 Thread Jeremy Shaw
Hello, Did you compile with -O2 ? That makes a huge difference when using ByteString. j. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Lambdabot not running on XP

2007-03-30 Thread Iain Alexander
On 29 Mar 2007 at 15:18, Stefan O'Rear wrote: On Thu, Mar 29, 2007 at 08:29:51PM +0100, Iain Alexander wrote: [snip] (ghc-6.4.1, lambdabot-4.0, WinXP SP2) As a result of my recentish code cleanups, everything lambdabot does, even the main command loop, is a @-command. If you just run it

Re: [Haskell-cafe] Data.ByteStream.Char8.words performance

2007-03-30 Thread Dino Morelli
On Fri, 30 Mar 2007, Jeremy Shaw wrote: Hello, Did you compile with -O2 ? That makes a huge difference when using ByteString. j. Ah, that was exactly it. I feel silly. module Main where import qualified Data.ByteString.Char8 as B main = do content - B.readFile test-text-file let

Re: [Haskell-cafe] Data.ByteStream.Char8.words performance

2007-03-30 Thread Duncan Coutts
On Fri, 2007-03-30 at 14:24 -0700, Jeremy Shaw wrote: Hello, Did you compile with -O2 ? That makes a huge difference when using ByteString. Hmm, I think we can do better than that. It would be nicer to have it work fast without needing any -O flags at all in the user's module. Lets look at