dhall-lang / dhall-to-cabal

Compile Dhall expressions to Cabal files
MIT License
100 stars 19 forks source link

Cleaner defaults #162

Closed quasicomputational closed 5 years ago

quasicomputational commented 5 years ago

No semantic changes, just tidiness.

ocharles commented 5 years ago

Is this the result of dhall lint --inplace on all files? If not, I was planning on doing that (and format) in one PR. Perhaps this PR could be that?

quasicomputational commented 5 years ago

No - this is changing the generating code to lint before outputting. The only difference to dhall lint seems to be that running it separately generates files with a newline at the end, but integrating it with the generator doesn't.

quasicomputational commented 5 years ago

OK - dhall-to-cabal-meta's output should now be invariant under dhall lint and dhall format. Thanks for crystallising that idea!