migamake / json-autotype

Automatic Haskell type inference from JSON input
150 stars 23 forks source link

Add information that output file is generated code #30

Open mgajda opened 5 years ago

mgajda commented 5 years ago

In case of a big project with multiple contributors, we should follow the golden standard of handling generated code:

  1. Add a comment on top that it is generated.
  2. Add metainformation about the input from which it was generated.
  3. Add a note how to regenerate it when the source changes.