on master help sign in
Correct haddock for examples
commita6063470dedf3bc40159a7d9e7a72199a260535b authorMarkus Hauck <markus1189@gmail.com> dateTue 23 Dec 2014, 19:16 (12 years ago) parentc33ad66
1 file changed+4−2
Data/Aeson/Types/Class.hs+4−2
Data/Aeson/Types/Class.hs+4−2
@@ -129,7 +129,8 @@ class ToJSON a where
129129--
130130-- An example type and instance:
131131--
132−-- @{-\# LANGUAGE OverloadedStrings #-}
132+-- @
133+-- {-\# LANGUAGE OverloadedStrings #-}
133134--
134135-- data Coord = Coord { x :: Double, y :: Double }
135136--
@@ -165,7 +166,8 @@ class ToJSON a where
165166--
166167-- For example the previous example can be simplified to just:
167168--
168−-- @{-\# LANGUAGE DeriveGeneric \#-}
169+-- @
170+-- {-\# LANGUAGE DeriveGeneric \#-}
169171--
170172-- import GHC.Generics
171173--