regexdot-0.12.2.2: A polymorphic, POSIX, extended regex-engine.

Safe HaskellSafe
LanguageHaskell2010

RegExDot.DataSpan

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Augments a Span, with the specific data concerned.
Synopsis

Types

Type-synonyms

Functions

after :: DataSpan a -> DataLength Source #

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

empty :: DataLength -> DataSpan a Source #

Constructs an empty instance, located at the specified offset.

join Source #

Arguments

:: DataLength

The offset at which the concatenated match is considered to have occurred.

-> [DataSpan a]

The list to be concatenated.

-> DataSpan a 
  • Condenses a list into a single value.
  • Expects a gap-free, sorted list.