waargonaut-0.8.0.2: JSON wrangling
Safe HaskellNone
LanguageHaskell2010

Waargonaut.Decode.ZipperMove

Description

Types and functions for describing the movements of a cursor around the Json structure.

Synopsis

Documentation

data ZipperMove Source #

Set of moves that may be executed on a zipper.

Instances

Instances details
Eq ZipperMove Source # 
Instance details

Defined in Waargonaut.Decode.ZipperMove

Show ZipperMove Source # 
Instance details

Defined in Waargonaut.Decode.ZipperMove

AsZipperMove ZipperMove Source # 
Instance details

Defined in Waargonaut.Decode.ZipperMove

class AsZipperMove r where Source #

Classy Prism's for things that may be treated as a ZipperMove.

Minimal complete definition

_ZipperMove

Methods

_ZipperMove :: Prism' r ZipperMove Source #

_U :: Prism' r () Source #

_D :: Prism' r () Source #

_DAt :: Prism' r Text Source #

_Item :: Prism' r Text Source #

_L :: Prism' r Natural Source #

_R :: Prism' r Natural Source #

Instances

Instances details
AsZipperMove ZipperMove Source # 
Instance details

Defined in Waargonaut.Decode.ZipperMove

ppZipperMove :: ZipperMove -> Doc a Source #

Pretty print a given zipper movement, used when printing CursorHistory' to improve the readability of the errors.