Data.Sequences.Lazy

chunked-data-0.2.0: Typeclasses for dealing with various chunked data representations

Safe Haskell | None
Language | Haskell98

Data.Sequences.Lazy

Synopsis

- class (IsSequence lazy, IsSequence strict) => LazySequence lazy strict | lazy -> strict, strict -> lazy where
  - toChunks :: lazy -> [strict]
  - fromChunks :: [strict] -> lazy
  - toStrict :: lazy -> strict
  - fromStrict :: strict -> lazy

# Documentation

class (IsSequence lazy, IsSequence strict) => LazySequence lazy strict | lazy -> strict, strict -> lazy where

Lazy sequences containing strict chunks of data.

Methods

toChunks :: lazy -> [strict]

fromChunks :: [strict] -> lazy

toStrict :: lazy -> strict

fromStrict :: strict -> lazy

Instances

LazySequence ByteString ByteString |
LazySequence Text Text |