regexdot-0.10.2.1: A /polymorphic/, POSIX, extended regular-expression engine.

RegExDot.Span

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Delimits a data-sequence, via its offset & length, within a wider list.

Synopsis

Types

Type-synonyms

Functions

after :: Span -> DataLengthSource

Returns the furthest extent, i.e. the offset just after the end.

empty :: DataLength -> SpanSource

An empty instance, located at the specified offset.

joinSource

Arguments

:: DataLength

The offset into the list of input-data to use when a null list of spans is received.

-> [Span] 
-> Span 
  • Condenses a list into a single value.
  • Expects a gap-free, sorted list.