Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
arbitraries :: Arbitrary a => [a] Source #
nubSortByBot :: (a -> a -> Maybe Ordering) -> [a] -> [a] Source #
class Eq rel => Relation rel where Source #
(/), appendWithBy, diffBy, cEQ
fromListBy :: (k -> k -> rel) -> [k] -> [k] Source #
fromListByDB :: (k -> k -> rel) -> [(k, Int)] -> [(k, Int)] Source #
(/) :: [k] -> (k -> k -> rel) -> [[k]] Source #
appendWithBy :: (k -> k -> k) -> (k -> k -> rel) -> [k] -> [k] -> [k] Source #
appendQuotientsBy :: Relation rel => (k -> k -> rel) -> [[k]] -> [[k]] -> [[k]] Source #
appendRepresentativesBy :: Relation rel => (k -> k -> rel) -> [k] -> [k] -> [k] Source #
unionWithBy :: (a -> a -> a) -> (a -> a -> Bool) -> [a] -> [a] -> [a] Source #
class Filtrable a where Source #
filt :: SStrategy m => (Int -> Int) -> m (a, e) -> m e Source #
filtFun :: (SStrategy m, Arbitrary b) => (Int -> Int) -> m (b -> a, e) -> m e Source #
unsafeFilt :: SStrategy m => Maybe Int -> (Int -> Int) -> m (a, e) -> m e Source #
unsafeFiltFun :: (SStrategy m, Arbitrary b) => Maybe Int -> (Int -> Int) -> m (b -> a, e) -> m e Source #
filtNullary :: (SStrategy m, Relation r) => (k -> k -> r) -> (Int -> Int) -> m (k, e) -> m e Source #
filtUnary :: (Arbitrary a, Relation r, SStrategy f) => (k -> k -> r) -> (Int -> Int) -> f (a -> k, b) -> f b Source #
sfilterMx :: Relation r => (k -> k -> r) -> (Int -> Int) -> Matrix ([k], e) -> Matrix ([k], e) Source #
liftRelation :: Relation r => (k -> k -> r) -> Int -> ([k], e) -> ([k], e) -> r Source #