on master help sign in
Merge pull request #67 from sol/master
5079559Bas van Dijk
Data/Aeson/Types/Class.hs+4−4
@@ -103,11 +103,11 @@ class GFromJSON f where
103-- Instead of manually writing your 'ToJSON' instance, there are three options
103-- Instead of manually writing your 'ToJSON' instance, there are three options
104-- to do it automatically:
104-- to do it automatically:
105--
105--
106−-- * 'Data.Aeson.TH' provides template-haskell functions which will derive an
106+-- * "Data.Aeson.TH" provides template-haskell functions which will derive an
107-- instance at compile-time. The generated instance is optimized for your type
107-- instance at compile-time. The generated instance is optimized for your type
108-- so will probably be more efficient than the following two options:
108-- so will probably be more efficient than the following two options:
109--
109--
110−-- * 'Data.Aeson.Generic' provides a generic @toJSON@ function that accepts any
110+-- * "Data.Aeson.Generic" provides a generic @toJSON@ function that accepts any
111-- type which is an instance of 'Data'.
111-- type which is an instance of 'Data'.
112--
112--
113-- * If your compiler has support for the @DeriveGeneric@ and
113-- * If your compiler has support for the @DeriveGeneric@ and
@@ -164,11 +164,11 @@ class ToJSON a where
164-- Instead of manually writing your 'FromJSON' instance, there are three options
164-- Instead of manually writing your 'FromJSON' instance, there are three options
165-- to do it automatically:
165-- to do it automatically:
166--
166--
167−-- * 'Data.Aeson.TH' provides template-haskell functions which will derive an
167+-- * "Data.Aeson.TH" provides template-haskell functions which will derive an
168-- instance at compile-time. The generated instance is optimized for your type
168-- instance at compile-time. The generated instance is optimized for your type
169-- so will probably be more efficient than the following two options:
169-- so will probably be more efficient than the following two options:
170--
170--
171−-- * 'Data.Aeson.Generic' provides a generic @fromJSON@ function that parses to
171+-- * "Data.Aeson.Generic" provides a generic @fromJSON@ function that parses to
172-- any type which is an instance of 'Data'.
172-- any type which is an instance of 'Data'.
173--
173--
174-- * If your compiler has support for the @DeriveGeneric@ and
174-- * If your compiler has support for the @DeriveGeneric@ and