hexpat-lens-0.1.0: Lenses for Hexpat.

Portabilitynon-portable
Stabilityexperimental
Maintainerme@jspha.com
Safe HaskellNone

Text.XML.Expat.Lens.Unqualified

Contents

Description

A simple Hexpat lens module. This is nothing more than a type-specialized re-export of Text.XML.Expat.Lens.Generic.

Lenses provide power to do very concise XML tree diving. This module provides a less general interface to the Hexpat datatypes via lenses.

Synopsis

Basic inspection

Recursive inspection

Filters

named :: (Eq a, Applicative f, Choice p) => a -> Optic' p f (NodeG f1 a text) (NodeG f1 a text)Source

parameterized :: (Eq (IxValue a), Applicative f, Choice p, Ixed a) => Index a -> IxValue a -> Optic' p f a aSource