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
99 | where
123 | where
166 | export
177 | export
181 | --------------------------------------------------------------------------------
182 | -- Deriving
183 | --------------------------------------------------------------------------------
188 | export
190 | Visibility
202 | ]
204 | ||| Generate declarations and implementations for
205 | ||| `FromJSON` for a given data type
206 | ||| using default settings.