Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Builder collection mutCollection step state err a = Builder {
- runBuilder :: State (Offset step, BuildingState collection mutCollection step (PrimState state), Maybe err) state a
- data BuildingState collection mutCollection step state = BuildingState {
- prevChunks :: [collection]
- prevChunksSize :: !(CountOf step)
- curChunk :: mutCollection state
- chunkSize :: !(CountOf step)
Documentation
newtype Builder collection mutCollection step state err a #
Builder | |
|
Monad state => Monad (Builder collection mutCollection step state err) # | |
Monad state => Functor (Builder collection mutCollection step state err) # | |
Monad state => Applicative (Builder collection mutCollection step state err) # | |
Monad state => MonadFailure (Builder collection mutCollection step state err) # | |
type Failure (Builder collection mutCollection step state err) # | |
data BuildingState collection mutCollection step state #
The in-progress state of a building operation.
The previous buffers are in reverse order, and this contains the current buffer and the state of progress packing the elements inside.
BuildingState | |
|