Skip to Content
Get Programming with Haskell
book

Get Programming with Haskell

by Will Kurt
March 2018
Beginner
616 pages
16h 53m
English
Manning Publications
Content preview from Get Programming with Haskell

Lesson 36. Property testing with QuickCheck

After reading lesson 36, you’ll be able to

  • Use stack ghci to interact with a stack project
  • Run tests with stack test
  • Use QuickCheck for property testing
  • Install packages with stack install

The preceding lesson introduced Haskell’s powerful build tool, stack. You saw how to build a project, but we cheated a bit. You copied the code you wrote when learning about modules and pasted it in. In this lesson, you’re going to rebuild your palindrome project, but this time you’ll develop it as though you were building a project from the beginning. Your focus this time will be on testing your code. So far in this book, you’ve done only manual testing of your functions. With stack, you can make automated ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Get Programming with Go

Get Programming with Go

Nathan Youngman, Roger Peppe
Effective Haskell

Effective Haskell

Rebecca Skinner

Publisher Resources

ISBN: 9781617293764Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link