Re: [Haskell-cafe] Testing for valid data

2010-03-28 Thread Jason Dagit
On Sat, Mar 27, 2010 at 2:42 PM, michael rice wrote: > Hi Ketil, > > Good point, but I think it side-steps the question. Haskell coughs on a > data value. Do we grep our data, finding and fixing the offender, or build > extensive data tests into our application code? > I'm not convinced I unders

Re: [Haskell-cafe] Testing for valid data

2010-03-27 Thread michael rice
: [Haskell-cafe] Testing for valid data To: haskell-cafe@haskell.org Date: Saturday, March 27, 2010, 5:20 PM michael rice writes: > When I'm learning a new language I like to translate old programs into > the new language as a test of my understanding. However, many of the > old program

Re: [Haskell-cafe] Testing for valid data

2010-03-27 Thread Ketil Malde
michael rice writes: > When I'm learning a new language I like to translate old programs into > the new language as a test of my understanding. However, many of the > old programs are from old programming texts, many written in the time > of punch-cards for batch processing, and many containing s

[Haskell-cafe] Testing for valid data

2010-03-27 Thread michael rice
When I'm learning a new language I like to translate old programs into the new language as a test of my understanding. However, many of the old programs are from old programming texts, many written in the time of punch-cards for batch processing, and many containing significant amounts of code t