We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a23bca8 + e685751 commit bc0146dCopy full SHA for bc0146d
Data/Aeson/Types/Internal.hs
@@ -270,7 +270,9 @@ type Failure f r = JSONPath -> String -> f r
270
-- | Success continuation.
271
type Success a f r = a -> f r
272
273
--- | A JSON parser.
+-- | A JSON parser. N.B. This might not fit your usual understanding of
274
+-- "parser". Instead you might like to think of 'Parser' as a "parse result",
275
+-- i.e. a parser to which the input has already been applied.
276
newtype Parser a = Parser {
277
runParser :: forall f r.
278
JSONPath
0 commit comments