Safe Haskell | Safe |
---|---|

Language | Haskell98 |

- 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) Source #

Mapping ------------------------------------------------------------------

powersetUpTo :: Int -> [a] -> [[a]] Source #

Powersets ----------------------------------------------------------------

flatten :: [(k, (i, [v]))] -> [[(k, (i, v))]] Source #

Combining ----------------------------------------------------------------

allCombinations :: [[a]] -> [[a]] Source #