Skip to content

Commit

Permalink
Document how to express consN
Browse files Browse the repository at this point in the history
  • Loading branch information
UnkindPartition committed Dec 16, 2013
1 parent 7f57686 commit 106eff8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Test/SmallCheck/Series.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ module Test.SmallCheck.Series (
-- >
-- >instance Serial m a => Serial m (Light a) where
-- > series = newtypeCons Light
--
-- For data types with more than 4 fields define @consN@ as
--
-- >consN f = decDepth $
-- > f <$> series
-- > <~> series
-- > <~> series
-- > <~> ... {- series repeated N times in total -}

-- ** What does consN do, exactly?

Expand Down

0 comments on commit 106eff8

Please sign in to comment.