Copyright | (c) 2017-2018 Rudy Matela |
---|---|
License | 3-Clause BSD (see the file LICENSE) |
Maintainer | Rudy Matela <rudy@matela.com.br> |
Safe Haskell | Safe |
Language | Haskell2010 |
This module is part of LeanCheck, a simple enumerative property-based testing library.
This module exports functions to compute statistics of Listable instances.
Documentation
classifyBy :: (a -> a -> Bool) -> [a] -> [[a]] Source #
classifyOn :: Eq b => (a -> b) -> [a] -> [[a]] Source #