Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
- mapThd3 :: (c -> d) -> (a, b, c) -> (a, b, d)
- mapSndM :: Functor m => (b -> m c) -> (a, b) -> m (a, c)
- mapMWithLog :: String -> (a -> IO b) -> [a] -> IO [b]
- powersetUpTo :: Int -> [a] -> [[a]]
- flatten :: [(k, (i, [v]))] -> [[(k, (i, v))]]
- expand :: (a -> [a]) -> [a] -> [[a]]
- expand2 :: (b -> [b]) -> [(a, b)] -> [[(a, b)]]
- expand3 :: (c -> [c]) -> [(a, b, c)] -> [[(a, b, c)]]
- allCombinations :: [[a]] -> [[a]]
Documentation
mapThd3 :: (c -> d) -> (a, b, c) -> (a, b, d) #
Mapping ------------------------------------------------------------------
mapMWithLog :: String -> (a -> IO b) -> [a] -> IO [b] #
powersetUpTo :: Int -> [a] -> [[a]] #
Powersets ----------------------------------------------------------------
flatten :: [(k, (i, [v]))] -> [[(k, (i, v))]] #
Combining ----------------------------------------------------------------
allCombinations :: [[a]] -> [[a]] #