Skip to content

updated to PureScript 0.12 #8

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

Merged

Conversation

CarstenKoenig
Copy link
Contributor

What does this pull request do?

  • updated dependencies
  • replaced removed Generic.Rep cases/fields with a RowToList approach

Where should the reviewer start?

the relevant changes should be in Data.Argonaut.Decode.Generic.Rep and Data.Argonaut.Encode.Generic.Rep

How should this be manually tested?

npm run test

or

pulp test

should do

Other Notes:

this is a cleaned up version from this PR: #6 (review)

- updated dependencies
- replaced removed `Generic.Rep` cases/fields with a `RowToList` approach
-- | JSON in to the resulting record value
-- |
-- | `from` and `to` indicates the the step the `Builder` will take from a `Record from`
-- | to a `Record to` so for a given `RowList` `from` will be the empty record
Copy link

Choose a reason for hiding this comment

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

If from is always an empty record, then why is it variable here?

Copy link

Choose a reason for hiding this comment

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

I think there is a misunderstanding.

I do understand how this works. I've already spent time to understand it, and also I happen to have written similar things multiple times before.

The comment is not for me, but for future audience. Maintainability, you know.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh shit sorry - maybe you can help me out with the wording here then

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm really only trying to help - of course you know this ...

anyway can you have a look at it now? I hope the confusing pieces are gone and it's more obvious why to use this(?)

Copy link

Choose a reason for hiding this comment

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

Don't worry too much about it, I only suggested.
I think this comment is great.

-- | JSON in to the resulting record value
-- |
-- | `from` and `to` indicates the the step the `Builder` will take from a `Record from`
-- | to a `Record to` so for a given `RowList` `from` will be the empty record
Copy link

Choose a reason for hiding this comment

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

Don't worry too much about it, I only suggested.
I think this comment is great.

@thomashoneyman
Copy link
Contributor

@fsoikin Since you've got an approved review in, I'll merge this tomorrow unless you have any objections. Thanks @CarstenKoenig for your work!

@CarstenKoenig
Copy link
Contributor Author

thank you!

@fsoikin
Copy link

fsoikin commented Aug 7, 2018

No objections, please merge. Thank you! :-)

@thomashoneyman thomashoneyman merged commit 96ec4b0 into purescript-contrib:master Aug 7, 2018
@thomashoneyman
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants