Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Stephen Tetley
On 25 May 2010 13:25, Christopher Done wrote: > I would follow tibbe's Haskell style guide[3] because it is strict and > reasonable. To quote it on this topic: > > "Always use explicit import lists or qualified imports for standard > and third party libraries. This makes the code more robust agai

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Daniel Fischer
On Tuesday 25 May 2010 14:36:46, Ionut G. Stan wrote: > On 5/25/10 2:50 PM, Daniel Fischer wrote: > > On Tuesday 25 May 2010 13:36:01, Ionut G. Stan wrote: > >> Hi, > >> > >> I'm doing TDD in pretty much all of the languages that I know, and I > >> want to introduce it early in my Haskell learning

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Neil Brown
On 25/05/10 12:36, Ionut G. Stan wrote: Hi, I'm doing TDD in pretty much all of the languages that I know, and I want to introduce it early in my Haskell learning process. I wonder though, if there's some established process regarding TDD, not unit testing. I've heard of QuickCheck and HUni

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Ben Millwood
On Tue, May 25, 2010 at 12:36 PM, Ionut G. Stan wrote: > > Oh, and a small off-topic question? Is it considered a good practice to use > implicit imports in Haskell? I'm trying to learn from existing packages, but > all those "import all" statements drive me crazy. > It's pretty common but I don'

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Ionut G. Stan
On 5/25/10 2:50 PM, Daniel Fischer wrote: On Tuesday 25 May 2010 13:36:01, Ionut G. Stan wrote: Hi, I'm doing TDD in pretty much all of the languages that I know, and I want to introduce it early in my Haskell learning process. I wonder though, if there's some established process regarding TDD,

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Christopher Done
On 25 May 2010 13:36, Ionut G. Stan wrote: > I'm doing TDD in pretty much all of the languages that I know, and I want to > introduce it early in my Haskell learning process. I wonder though, if > there's some established process regarding TDD, not unit testing. > > I've heard of QuickCheck and HU

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Serguey Zefirov
> I'm doing TDD in pretty much all of the languages that I know, and I want to > introduce it early in my Haskell learning process. I wonder though, if > there's some established process regarding TDD, not unit testing. TDD can be deciphered as Type Driven Design, and right now not so many languag

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Daniel Fischer
On Tuesday 25 May 2010 13:36:01, Ionut G. Stan wrote: > Hi, > > I'm doing TDD in pretty much all of the languages that I know, and I > want to introduce it early in my Haskell learning process. I wonder > though, if there's some established process regarding TDD, not unit > testing. > > I've heard

Re: [Haskell-cafe] TDD in Haskell

2010-05-25 Thread Liam O'Connor
QuickCheck is great for TDD. I have used it for such purposes. You literally encode the contract of the function as quickcheck properties. It's very lovely. Cheers. ~Liam > > > > On 25 May 2010 21:36, Ionut G. Stan wrote: >> Hi, >> >> I'm doing TDD in pretty much all of the languages that I know,

[Haskell-cafe] TDD in Haskell

2010-05-25 Thread Ionut G. Stan
Hi, I'm doing TDD in pretty much all of the languages that I know, and I want to introduce it early in my Haskell learning process. I wonder though, if there's some established process regarding TDD, not unit testing. I've heard of QuickCheck and HUnit, but I've also read that QuickCheck is