Re: [Haskell-cafe] Learning advice

2007-09-06 Thread Tom Harper
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Harper [EMAIL PROTECTED] +1 949 235 0185 Public Key: http://aftereternity.co.uk/rth.asc ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Learning advice

2007-09-06 Thread Tom Harper
enjoyed very much the story). From the response below I think my thickness is showing too much and I'll try a little harder on my own first. Thanks again, Chris Saunders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Harper Sent: September-06

Re: [Haskell-cafe] Where would I find fromInt?

2007-09-09 Thread Tom Harper
, Paul ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Harper [EMAIL PROTECTED] +1 949 235 0185 Public Key: http://aftereternity.co.uk/rth.asc

[Haskell-cafe] Benchmarking Framework

2008-05-28 Thread Tom Harper
looking for something like QuickCheck, but that helps with generating repeatable tests to measure performance. Is there anything out there that anyone would recommend? -- Tom Harper MSc Computer Science '08 University of Oxford Mobile: +44 (0)7533 998 591 Skype: +1 949 273 4627 (harpertom

[Haskell-cafe] Copying Arrays

2008-05-29 Thread Tom Harper
a memcpy-like function where I could copy the entire array into the new one instead of copying it one value at a time? Is there another solution that I'm missing? -- Tom Harper MSc Computer Science '08 University of Oxford Mobile: +44 (0)7533 998 591 Skype: +1 949 273 4627 (harpertom

Re: [Haskell-cafe] Copying Arrays

2008-05-29 Thread Tom Harper
Why not just read it into a lazy ByteString? Are you looking to use an array with elements of a different type? You could then convert it to a strict ByteString. b Because I'm writing the Unicode-friendly ByteString =p -- Tom Harper MSc Computer Science '08 University of Oxford

Re: [Haskell-cafe] Re: String vs ByteString

2010-08-17 Thread Tom Harper
I agree, Data.Text is great.  Unfortunately, its internal use of UTF-16 makes it inefficient for many purposes. In the first iteration of the Text package, UTF-16 was chosen because it had a nice balance of arithmetic overhead and space. The arithmetic for UTF-8 started to have serious

Re: Re[2]: [Haskell-cafe] Re: String vs ByteString

2010-08-17 Thread Tom Harper
2010/8/17 Bulat Ziganshin bulat.zigans...@gmail.com: Hello Tom, snip i don't understand what you mean. are you support all 2^20 codepoints in Data.Text package? Bulat, Yes, its internal representation is UTF-16, which is capable of encoding *any* valid Unicode codepoint. -- Tom

Re: [Haskell-cafe] Monad pronounced like gonad?

2007-05-10 Thread Tom Harper
with a Scottish accent? :) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Harper Computer Science Major '07 Syracuse University +1 949 235 0185 Public Key: http://aftereternity.co.uk/rth.asc

Re: [Haskell-cafe] global variables

2007-05-17 Thread Tom Harper
-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Harper Computer Science Major '07 Syracuse University +1 949 235 0185 Public Key: http://aftereternity.co.uk/rth.asc ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Haskell on OS X

2007-05-19 Thread Tom Harper
haskell.org or Mac Ports? Which emacs build? etc Johan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Harper Computer Science Major '07 Syracuse University +1 949 235 0185 Public Key

Re: [Haskell-cafe] New book: Real-World Haskell!

2007-05-23 Thread Tom Harper
-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Harper Computer Science Major '07 Syracuse University +1 949 235 0185 Public Key: http://aftereternity.co.uk/rth.asc ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org