on master help sign in
Fix broken haddocks
commite8fbbe91f9adba3b7533eee743a82e0aabbdafbd authorBryan O'Sullivan <bos@serpentine.com> dateTue 26 May 2015, 14:11 (11 years ago) parent9ac92bd
1 file changed+8−5
Data/Aeson/Types/Internal.hs+8−5
Data/Aeson/Types/Internal.hs+8−5
@@ -68,11 +68,14 @@ import Data.Vector (Vector)
6868import qualified Data.HashMap.Strict as H
6969import qualified Data.Vector as V
7070
71−-- | Elements of JSON path used to describe error location
72−data JSONPathElement = -- ^ "object.key" JSON path element
73− Key Text
74− -- ^ "array[index]" JSON path element
75− | Index {-# UNPACK #-} !Int
71+-- | Elements of a JSON path used to describe the location of an
72+-- error.
73+data JSONPathElement = Key Text
74+ -- ^ JSON path element of a key into an object,
75+ -- \"object.key\".
76+ | Index {-# UNPACK #-} !Int
77+ -- ^ JSON path element of an index into an
78+ -- array, \"array[index]\".
7679 deriving (Eq, Show, Typeable)
7780type JSONPath = [JSONPathElement]
7881