JuicyPixels-blurhash-0.1.0.0: Blurhash is a very compact represenation of a placeholder for an image

Copyright(c) 2020 Sam Protas
LicenseBSD3
MaintainerSam Protas <sam.protas@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Codec.Picture.Blurhash.Internal.DList

Description

Internal difference list implementation.

Note: This is an internal module not subject to PVP adherence.

Synopsis

Documentation

type DList a = [a] -> [a] Source #

A type alias for a Difference list for effecient appents

toDList :: [a] -> DList a Source #

Convert a list to a difference list

dListToList :: DList a -> [a] Source #

Convert a difference list to a list

dListSnoc :: DList a -> a -> DList a Source #

Append an item to the end of a difference list