9 | --------------------------------------------------------------------------------
10 | -- Claims
11 | --------------------------------------------------------------------------------
13 | ||| General type of a `fromJSON` function with the given list
14 | ||| of implicit and auto-implicit arguments, plus the given argument type
15 | ||| to be displayed.
16 | |||
17 | ||| TODO: Use fresh names for `v` and `obj`.
18 | export
23 | ||| Top-level function declaration implementing the `fromJSON` function for
24 | ||| the given data type.
25 | export
31 | ||| Top-level declaration of the `FromJSON` implementation for the given data type.
32 | export
36 | --------------------------------------------------------------------------------
37 | -- Definitions
38 | --------------------------------------------------------------------------------
72 | ||| Top-level definition of the `FromJSON` implementation for the given data type.
73 | export
98 | where
122 | where
165 | export
176 | export
180 | --------------------------------------------------------------------------------
181 | -- Deriving
182 | --------------------------------------------------------------------------------
187 | export
189 | Visibility
201 | ]
203 | ||| Generate declarations and implementations for
204 | ||| `FromJSON` for a given data type
205 | ||| using default settings.