New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard pretty-printer for dhall #8

Closed
jml opened this Issue Sep 8, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@jml

jml commented Sep 8, 2017

There should be a single canonical format for dhall code, and there should be a tool that converts dhall files to be in that format, ala gofmt.

Reason: no one should have to care about formatting of configuration files.

@Gabriel439

This comment has been minimized.

Show comment
Hide comment
@Gabriel439

Gabriel439 Sep 8, 2017

Contributor

Yep, totally agree with this one. I had an issue for this in the original Haskell repository (dhall-lang/dhall-haskell#61), which I'll close as a duplicate in favor of this issue

Contributor

Gabriel439 commented Sep 8, 2017

Yep, totally agree with this one. I had an issue for this in the original Haskell repository (dhall-lang/dhall-haskell#61), which I'll close as a duplicate in favor of this issue

Gabriel439 added a commit to dhall-lang/dhall-haskell that referenced this issue Sep 17, 2017

Add `dhall-format` executable
Fixes dhall-lang/dhall-lang#8

This takes a Dhall expression on standard input and outputs the same
expression to standard output except pretty-printed in a standard format
@Gabriel439

This comment has been minimized.

Show comment
Hide comment
@Gabriel439

Gabriel439 Sep 17, 2017

Contributor

I have a pull request out implementing this in: dhall-lang/dhall-haskell#137

Contributor

Gabriel439 commented Sep 17, 2017

I have a pull request out implementing this in: dhall-lang/dhall-haskell#137

@jml

This comment has been minimized.

Show comment
Hide comment
@jml

jml Sep 17, 2017

jml commented Sep 17, 2017

Gabriel439 added a commit to dhall-lang/dhall-haskell that referenced this issue Sep 17, 2017

Add `dhall-format` executable (#137)
Fixes dhall-lang/dhall-lang#8

This takes a Dhall expression on standard input and outputs the same
expression to standard output except pretty-printed in a standard format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment