Skip to content

dianjin/fun-with-quickcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fun-with-quickcheck

Purpose

Simple demo of Haskell QuickCheck. Problem: implement and test a function that simplifies a list of time intervals.

Example inputs and outputs:

  • [(1, 5), (5, 8)] -> [(1, 8)]
  • [(1, 2), (3, 5)] -> [(1, 2), (3, 5)]
  • [(1, 5), (2, 4)] -> [(1, 5)]

Running tests

stack test

Blog post

Fun with Haskell QuickCheck

About

playing around with Haskell QuickCheck

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published