Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Monoid t => Sequence t where
- class Stream c s | s -> c where
- i'elems :: (Monoid s', Stream c s, Stream c' s') => Iso [c] [c'] s s'
- take :: Sequence t => Int -> t -> t
- drop :: Sequence t => Int -> t -> t
- dropping :: Sequence t => Int -> Lens' t t
- takeWhile :: Stream c s => (c -> Bool) -> s -> [c]
- takeUntil :: Stream c s => (c -> Bool) -> s -> [c]
- dropWhile :: Stream c s => (c -> Bool) -> s -> s
- dropUntil :: Stream c s => (c -> Bool) -> s -> s
- pry :: Stream c s => Int -> s -> ([c], s)
- span :: Stream c s => (c -> Bool) -> s -> ([c], s)
- break :: Stream c s => (c -> Bool) -> s -> ([c], s)
- (++) :: Stream c s => [c] -> s -> s
- type Slice a = Vector a
- data Slices a
- slice :: (Storable a, Storable b) => Iso (Slice a) (Slice b) [a] [b]
- slices :: Storable b => Iso (Slices a) (Slices b) (Slice a) (Slice b)
- i'storables :: forall a b. (Storable a, Storable b) => Iso (Slice a) (Slice b) Chunk Chunk
- _Slices :: Iso (Slices a) (Slices b) [Slice a] [Slice b]
- breadth :: Storable a => Slices a -> Int
- unsafeWith :: Storable a => Vector a -> (Ptr a -> IO b) -> IO b
- sliceElt :: (Storable a, Storable b) => Fold a b (Slice a) (Slice b)