bitstream-0.2: Fast, packed, strict and lazy bit streams with stream fusion

Data.Bitstream.Fusion

Description

Some functions currently missing from Data.Vector.Fusion.Stream.

Documentation

genericTake :: Integral n => n -> Stream α -> Stream αSource

genericDrop :: Integral n => n -> Stream α -> Stream αSource

genericIndex :: Integral n => Stream α -> n -> αSource

genericReplicate :: Integral n => n -> α -> Stream αSource

genericUnfoldrN :: Integral n => n -> (β -> Maybe (α, β)) -> β -> Stream αSource

genericFindIndex :: Integral n => (α -> Bool) -> Stream α -> Maybe nSource