Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Construct medium => C medium where Source
switchBinary :: (a -> b) -> (medium a -> medium a -> b) -> (medium a -> medium a -> b) -> b -> medium a -> b Source
switchList :: (a -> b) -> ([medium a] -> b) -> ([medium a] -> b) -> medium a -> b Source
mapList :: (C b, C medium) => (a -> b) -> ([medium b] -> [medium b]) -> ([medium b] -> [medium b]) -> medium a -> medium b Source
mapListFlat :: (C b, C medium) => (a -> b) -> ([medium a] -> [medium b]) -> ([medium a] -> [medium b]) -> medium a -> medium b Source
listMediumFromAny :: (Construct dst, C src, C a) => src a -> dst a Source
binaryMediumFromAny :: (Construct dst, C src) => dst a -> src a -> dst a Source