Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Functor f => FuncTools f where Source #
Functional Programming Tools for HNum Object
hflat, hlift, hmap, hfilter, htake, htakeWhile, hdrop, hdropWhile
hflat :: ([a] -> a) -> f a -> a Source #
Absolute Abstraction with Scalar Function
hlift :: ([a] -> [b]) -> f a -> f b Source #
Absolute Abstraction with Vector Function
hmap :: (a -> b) -> f a -> f b Source #
Like map
hfilter :: (a -> Bool) -> f a -> f a Source #
Like filter
htake :: Int -> f a -> f a Source #
Like take
htakeWhile :: (a -> Bool) -> f a -> f a Source #
Like takeWhile
hdrop :: Int -> f a -> f a Source #
Like drop
hdropWhile :: (a -> Bool) -> f a -> f a Source #
Like dropWhile