Skip to content
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

Add formatPath function #729

Merged
merged 1 commit into from
Oct 16, 2019
Merged

Conversation

robbiemcmichael
Copy link
Contributor

Exposes a function to format a JSONPath as a String so that it can be used for more than formatting error messages.

Copy link
Collaborator

@bergmark bergmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @robbiemcmichael! Looks great, I added a comment inline.

Exposes functions for formatting a `JSONPath` as a `String` so that they
can be used for more than formatting error messages.
@robbiemcmichael
Copy link
Contributor Author

@bergmark I've made the changes. The build seems to be failing with some versions of GHC but I don't think it's related to my changes.

@bergmark
Copy link
Collaborator

Thanks! I'll try to look into the build failures soon.

@bergmark bergmark added this to the next milestone Sep 23, 2019
@bergmark
Copy link
Collaborator

🎉

@bergmark bergmark merged commit 98bbc5b into haskell:master Oct 16, 2019
gdevanla added a commit to gdevanla/aeson that referenced this pull request Oct 17, 2019
gdevanla added a commit to gdevanla/aeson that referenced this pull request Oct 24, 2019
@robbiemcmichael
Copy link
Contributor Author

@bergmark Any chance of a Hackage release in the near future? I was hoping to make use formatPath to improve some of the error messages in the json-to-dhall and yaml-to-dhall programs from dhall-haskell.

@bergmark
Copy link
Collaborator

I'll do it right now, thanks for the reminder!

@bergmark
Copy link
Collaborator

@robbiemcmichael
Copy link
Contributor Author

That was quick! Thanks 😄

bergmark added a commit that referenced this pull request Feb 6, 2020
* Add section on Development Workflow

* Referenced issue #773 to provide additional context,

* Add section on Development Workflow

Summarize notes discussed at #733

* clean up CONTRIBUTING.md

* Update stack-nightly

The update required to accommodate changes to version of Diff packages.

* rollback changes to stack nightly

* update stack-nightly.yaml. Required to be compatible with changes done on issue PR #729

* update CONTRIBUTING.md with accurate listing the yaml files, clarify instructions

* add command line details in CONTRIBUTING.md

* Add cabal-install instructions

Co-authored-by: Adam Bergmark <adam@bergmark.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants