data v0.2.4 Data.Constructor
Link to this section Summary
Link to this section Types
Link to this type
field_spec(a, b)
field_spec(a, b) :: {field_name(), Data.Parser.t(a, b)} | {field_name(), Data.Parser.t(a, b), field_opts(b)}
Link to this section Functions
Link to this function
run(constructor, input)
Link to this function
struct(field_specs, struct_module, input)
struct([field_spec(any(), any())], module(), input()) :: FE.Result.t(struct(), Error.t())