Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/System/Random/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,12 @@ class UniformRange a where
--
-- There is a default implementation of 'isInRange' via 'Generic'. Other helper function
-- that can be used for implementing this function are `isInRangeOrd` and
-- `isInRangeEnum`
-- `isInRangeEnum`.
--
-- Note that the @isRange@ method from @Data.Ix@ is /not/ a suitable default
-- implementation of 'isInRange'. Unlike 'isInRange', @isRange@ is not
-- required to be symmetric, and many @isRange@ implementations are not
-- symmetric in practice.
--
-- @since 1.3.0
isInRange :: (a, a) -> a -> Bool
Expand Down
Loading