Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type Parse' a = Parse Void a

    aeson-better-errors Data.Aeson.BetterErrors

    The type of parsers which never produce custom validation errors.

  2. data ParseError err

    aeson-better-errors Data.Aeson.BetterErrors

    A value indicating that the JSON could not be decoded successfully.

  3. type ParseError' = ParseError Void

    aeson-better-errors Data.Aeson.BetterErrors

    The type of parse errors which never involve custom validation errors.

  4. data ParseT err (m :: Type -> Type) a

    aeson-better-errors Data.Aeson.BetterErrors

    The type of parsers: things which consume JSON values and produce either detailed errors or successfully parsed values (of other types). The err type parameter is for custom validation errors; for parsers that don't produce any custom validation errors, I recommend you just stick a type variable in for full generality:

    asTuple :: Parse e (Int, Int)
    asTuple = (,) <$> nth 0 asIntegral <*> nth 1 asIntegral
    
    The m parameter allows you to run the parser within an abitrary underlying Monad. You may want to use Parse in most cases instead, and all functions in this module work on either.

  5. data PathPiece

    aeson-better-errors Data.Aeson.BetterErrors

    A piece of a path leading to a specific part of the JSON data. Internally, a list of these is maintained as the parser traverses the JSON data. This list is included in the error if one occurs.

  6. type Parse err a = ParseT err Identity a

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    This is the standard version of ParseT over the Identity Monad, for running pure parsers.

  7. type Parse' a = Parse Void a

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    The type of parsers which never produce custom validation errors.

  8. data ParseError err

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    A value indicating that the JSON could not be decoded successfully.

  9. type ParseError' = ParseError Void

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    The type of parse errors which never involve custom validation errors.

  10. data ParseReader

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    Data used internally by the Parse type.

Page 1182 of many | Previous | Next