emacs-elsa / Elsa

Emacs Lisp Static Analyzer and gradual type system.
GNU General Public License v3.0
644 stars 27 forks source link

Fix printing of forms #89

Open Fuco1 opened 6 years ago

Fuco1 commented 6 years ago

Some of the forms which are read are printed in an ugly way when run through elsa-form-print, we should try to produce as idiomatic elisp as possible.

Also involve pretty printer somehow (pp-to-string), we can have a flag for this.

This is maybe a prerequisite for #73 since we would move code around and replace existing code. Now we can opt to using whatever the user wrote instead of pretty-printing our forms, which probably makes more sense (and just fix indent). Still, this might get useful.