text-1.2.4.0: An efficient packed Unicode text type.
Copyright2010 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe
LanguageHaskell2010

Data.Text.Internal.Functions

Description

Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!

Useful functions.

Synopsis

Documentation

intersperse :: a -> [a] -> [a] Source #

A lazier version of Data.List.intersperse. The other version causes space leaks!