Re: [Haskell-cafe] Spelling checker exercise

2010-02-08 Thread Matthew Phillips
in accum? On 25/01/2010, at 5:49 PM, Daniel Fischer wrote: Am Montag 25 Januar 2010 05:34:50 schrieb Matthew Phillips: On 24/01/2010, at 10:22 PM, Daniel Fischer wrote: ... I think I know what happened here: $ ghc -fforce-recomp --make matthew -o matthew0 ... I habitually compile

Re: [Haskell-cafe] Spelling checker exercise

2010-01-24 Thread Matthew Phillips
On 24/01/2010, at 10:22 PM, Daniel Fischer wrote: ... I think I know what happened here: $ ghc -fforce-recomp --make matthew -o matthew0 ... I habitually compile all code with -O2, unless I have a specific reason not to. I tend to forget that some compile without optimisations. For

Re: [Haskell-cafe] Spelling checker exercise

2010-01-23 Thread Matthew Phillips
Thanks very much Daniel for giving my (amateurish!) exercise such an in-depth a look-over. Comments inline below. On 23/01/2010, at 12:11 AM, Daniel Fischer wrote: Am Freitag 22 Januar 2010 07:51:27 schrieb Matthew Phillips: Hello all, sorry to bring up an old chestnut, but I’m trying

[Haskell-cafe] Spelling checker exercise

2010-01-21 Thread Matthew Phillips
Hello all, sorry to bring up an old chestnut, but I’m trying to improve my Haskell-fu by writing a small program, and chose Peter Norvig’s spelling checker as my exercise material (http://norvig.com/spell-correct.html). While I’ve gotten it working, and found it quite illuminating, I also