ianmackenzie / elm-script

Experimental command-line scripting for Elm
34 stars 4 forks source link

Minor changes to examples #12

Open psfblair opened 4 years ago

psfblair commented 4 years ago
ianmackenzie commented 4 years ago

Looks pretty good! I tweaked some of the error messages slightly; I read a suggestion a while ago to think of those as "help messages" that try to let the user know how to resolve the issue, rather than "error messages" that just report what went wrong, and it seemed like a good idea 🙂

Could you also format the source files using the most recent version of elm-format? (I'm currently using 0.8.2, but it looks like 0.8.3 should format code exactly the same way.)

psfblair commented 4 years ago

Will do.

psfblair commented 4 years ago

Fixed the formatting. Also fixed two of the other files to bring them in line with the "help messages" approach.