Skip to content

Commit

Permalink
Merge pull request #202 from hedgehogqa/enumBounded-docs
Browse files Browse the repository at this point in the history
Add note about enumBounded
  • Loading branch information
jacobstanley committed Mar 10, 2019
2 parents 6a4c483 + 37a1dc9 commit d17958b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hedgehog/src/Hedgehog/Internal/Gen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,8 @@ enum lo hi =
-- enumBounded :: 'Gen' 'Bool'
-- @
--
-- /This is implemented in terms of the 'Enum' class, and thus may be
-- partial for integral types larger than 'Int', e.g. 'Word64'./
enumBounded :: (MonadGen m, Enum a, Bounded a) => m a
enumBounded =
enum minBound maxBound
Expand Down

0 comments on commit d17958b

Please sign in to comment.