hw-json-standard-cursor-0.2.3.1: Memory efficient JSON parser

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Documentation

data SemiIndex v Source #

Constructors

SemiIndex 

Fields

Instances
Functor SemiIndex Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

fmap :: (a -> b) -> SemiIndex a -> SemiIndex b #

(<$) :: a -> SemiIndex b -> SemiIndex a #

Foldable SemiIndex Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

fold :: Monoid m => SemiIndex m -> m #

foldMap :: Monoid m => (a -> m) -> SemiIndex a -> m #

foldr :: (a -> b -> b) -> b -> SemiIndex a -> b #

foldr' :: (a -> b -> b) -> b -> SemiIndex a -> b #

foldl :: (b -> a -> b) -> b -> SemiIndex a -> b #

foldl' :: (b -> a -> b) -> b -> SemiIndex a -> b #

foldr1 :: (a -> a -> a) -> SemiIndex a -> a #

foldl1 :: (a -> a -> a) -> SemiIndex a -> a #

toList :: SemiIndex a -> [a] #

null :: SemiIndex a -> Bool #

length :: SemiIndex a -> Int #

elem :: Eq a => a -> SemiIndex a -> Bool #

maximum :: Ord a => SemiIndex a -> a #

minimum :: Ord a => SemiIndex a -> a #

sum :: Num a => SemiIndex a -> a #

product :: Num a => SemiIndex a -> a #

Traversable SemiIndex Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

traverse :: Applicative f => (a -> f b) -> SemiIndex a -> f (SemiIndex b) #

sequenceA :: Applicative f => SemiIndex (f a) -> f (SemiIndex a) #

mapM :: Monad m => (a -> m b) -> SemiIndex a -> m (SemiIndex b) #

sequence :: Monad m => SemiIndex (m a) -> m (SemiIndex a) #

Generic (SemiIndex v) Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Associated Types

type Rep (SemiIndex v) :: Type -> Type #

Methods

from :: SemiIndex v -> Rep (SemiIndex v) x #

to :: Rep (SemiIndex v) x -> SemiIndex v #

type Rep (SemiIndex v) Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

type Rep (SemiIndex v) = D1 (MetaData "SemiIndex" "HaskellWorks.Data.Json.Standard.Cursor.SemiIndex" "hw-json-standard-cursor-0.2.3.1-5RWfwP72WJhDu0jnNZRLV2" False) (C1 (MetaCons "SemiIndex" PrefixI True) (S1 (MetaSel (Just "semiIndexIb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v) :*: S1 (MetaSel (Just "semiIndexBp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v)))

data PreSiChunk v Source #

Constructors

PreSiChunk 

Fields

Instances
Functor PreSiChunk Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

fmap :: (a -> b) -> PreSiChunk a -> PreSiChunk b #

(<$) :: a -> PreSiChunk b -> PreSiChunk a #

Foldable PreSiChunk Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

fold :: Monoid m => PreSiChunk m -> m #

foldMap :: Monoid m => (a -> m) -> PreSiChunk a -> m #

foldr :: (a -> b -> b) -> b -> PreSiChunk a -> b #

foldr' :: (a -> b -> b) -> b -> PreSiChunk a -> b #

foldl :: (b -> a -> b) -> b -> PreSiChunk a -> b #

foldl' :: (b -> a -> b) -> b -> PreSiChunk a -> b #

foldr1 :: (a -> a -> a) -> PreSiChunk a -> a #

foldl1 :: (a -> a -> a) -> PreSiChunk a -> a #

toList :: PreSiChunk a -> [a] #

null :: PreSiChunk a -> Bool #

length :: PreSiChunk a -> Int #

elem :: Eq a => a -> PreSiChunk a -> Bool #

maximum :: Ord a => PreSiChunk a -> a #

minimum :: Ord a => PreSiChunk a -> a #

sum :: Num a => PreSiChunk a -> a #

product :: Num a => PreSiChunk a -> a #

Traversable PreSiChunk Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

traverse :: Applicative f => (a -> f b) -> PreSiChunk a -> f (PreSiChunk b) #

sequenceA :: Applicative f => PreSiChunk (f a) -> f (PreSiChunk a) #

mapM :: Monad m => (a -> m b) -> PreSiChunk a -> m (PreSiChunk b) #

sequence :: Monad m => PreSiChunk (m a) -> m (PreSiChunk a) #

Generic (PreSiChunk v) Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Associated Types

type Rep (PreSiChunk v) :: Type -> Type #

Methods

from :: PreSiChunk v -> Rep (PreSiChunk v) x #

to :: Rep (PreSiChunk v) x -> PreSiChunk v #

type Rep (PreSiChunk v) Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

type Rep (PreSiChunk v) = D1 (MetaData "PreSiChunk" "HaskellWorks.Data.Json.Standard.Cursor.SemiIndex" "hw-json-standard-cursor-0.2.3.1-5RWfwP72WJhDu0jnNZRLV2" False) (C1 (MetaCons "PreSiChunk" PrefixI True) (S1 (MetaSel (Just "preSiChunkIb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v) :*: (S1 (MetaSel (Just "preSiChunkBpOp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v) :*: S1 (MetaSel (Just "preSiChunkBpCl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v))))

data SiChunk v Source #

Constructors

SiChunk 

Fields

Instances
Functor SiChunk Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

fmap :: (a -> b) -> SiChunk a -> SiChunk b #

(<$) :: a -> SiChunk b -> SiChunk a #

Foldable SiChunk Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

fold :: Monoid m => SiChunk m -> m #

foldMap :: Monoid m => (a -> m) -> SiChunk a -> m #

foldr :: (a -> b -> b) -> b -> SiChunk a -> b #

foldr' :: (a -> b -> b) -> b -> SiChunk a -> b #

foldl :: (b -> a -> b) -> b -> SiChunk a -> b #

foldl' :: (b -> a -> b) -> b -> SiChunk a -> b #

foldr1 :: (a -> a -> a) -> SiChunk a -> a #

foldl1 :: (a -> a -> a) -> SiChunk a -> a #

toList :: SiChunk a -> [a] #

null :: SiChunk a -> Bool #

length :: SiChunk a -> Int #

elem :: Eq a => a -> SiChunk a -> Bool #

maximum :: Ord a => SiChunk a -> a #

minimum :: Ord a => SiChunk a -> a #

sum :: Num a => SiChunk a -> a #

product :: Num a => SiChunk a -> a #

Traversable SiChunk Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Methods

traverse :: Applicative f => (a -> f b) -> SiChunk a -> f (SiChunk b) #

sequenceA :: Applicative f => SiChunk (f a) -> f (SiChunk a) #

mapM :: Monad m => (a -> m b) -> SiChunk a -> m (SiChunk b) #

sequence :: Monad m => SiChunk (m a) -> m (SiChunk a) #

Generic (SiChunk v) Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

Associated Types

type Rep (SiChunk v) :: Type -> Type #

Methods

from :: SiChunk v -> Rep (SiChunk v) x #

to :: Rep (SiChunk v) x -> SiChunk v #

type Rep (SiChunk v) Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.SemiIndex

type Rep (SiChunk v) = D1 (MetaData "SiChunk" "HaskellWorks.Data.Json.Standard.Cursor.SemiIndex" "hw-json-standard-cursor-0.2.3.1-5RWfwP72WJhDu0jnNZRLV2" False) (C1 (MetaCons "SiChunk" PrefixI True) (S1 (MetaSel (Just "siChunkIb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v) :*: S1 (MetaSel (Just "siChunkBp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 v)))

data State Source #

Constructors

InJson 
InString 
InEscape 
InValue 
Instances
Bounded State Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine

Enum State Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine

Eq State Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine

Methods

(==) :: State -> State -> Bool #

(/=) :: State -> State -> Bool #

Show State Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine

Methods

showsPrec :: Int -> State -> ShowS #

show :: State -> String #

showList :: [State] -> ShowS #

Generic State Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine

Associated Types

type Rep State :: Type -> Type #

Methods

from :: State -> Rep State x #

to :: Rep State x -> State #

type Rep State Source # 
Instance details

Defined in HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine

type Rep State = D1 (MetaData "State" "HaskellWorks.Data.Json.Standard.Cursor.Internal.StateMachine" "hw-json-standard-cursor-0.2.3.1-5RWfwP72WJhDu0jnNZRLV2" False) ((C1 (MetaCons "InJson" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InString" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "InEscape" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InValue" PrefixI False) (U1 :: Type -> Type)))