Add roundtrip test from Tim's blog post #85
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I hope @thumphries doesn't mind, I turned his blog post in to an example.
While I was doing so I noticed that the
![screen shot 2017-06-11 at 11 37 54 am](https://user-images.githubusercontent.com/134805/27007580-ee9be1d0-4e9a-11e7-8047-a44215b66284.png)
tripping
function could be improved a bit, I added an output with the intermediate value:I understand that the intermediate value may not always be something supporting
Show
and could potentially be large, but I think this behaviour is a nice default. I think longer term we should have atrippingWith
function which is a bit more configurable, but this is ok for now.