Safe Haskell | None |
---|---|
Language | Haskell2010 |
SimpleParser.Examples.Json
Documentation
Constructors
JsonObject !(Seq (Text, a)) | |
JsonArray !(Seq a) | |
JsonString !Text | |
JsonBool !Bool | |
JsonNum !Scientific | |
JsonNull |
Instances
Functor JsonF Source # | |
Foldable JsonF Source # | |
Defined in SimpleParser.Examples.Json Methods fold :: Monoid m => JsonF m -> m # foldMap :: Monoid m => (a -> m) -> JsonF a -> m # foldMap' :: Monoid m => (a -> m) -> JsonF a -> m # foldr :: (a -> b -> b) -> b -> JsonF a -> b # foldr' :: (a -> b -> b) -> b -> JsonF a -> b # foldl :: (b -> a -> b) -> b -> JsonF a -> b # foldl' :: (b -> a -> b) -> b -> JsonF a -> b # foldr1 :: (a -> a -> a) -> JsonF a -> a # foldl1 :: (a -> a -> a) -> JsonF a -> a # elem :: Eq a => a -> JsonF a -> Bool # maximum :: Ord a => JsonF a -> a # minimum :: Ord a => JsonF a -> a # | |
Traversable JsonF Source # | |
Eq a => Eq (JsonF a) Source # | |
Show a => Show (JsonF a) Source # | |
type JsonParserC s = (TextualStream s, Eq (Chunk s)) Source #
jsonParser :: JsonParserC s => JsonParserM s Json Source #
recJsonParser :: JsonParserC s => JsonParserM s a -> JsonParserM s (JsonF a) Source #