{"comment":{"url":"https://api.github.com/repos/saljuama/java-8-vavr-functional/comments/29847863","html_url":"https://github.com/saljuama/java-8-vavr-functional/commit/b96d69719b227ac1552df006abcdf295728055a2#commitcomment-29847863","id":29847863,"node_id":"MDEzOkNvbW1pdENvbW1lbnQyOTg0Nzg2Mw==","user":{"login":"saljuama","id":8984734,"node_id":"MDQ6VXNlcjg5ODQ3MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8984734?v=4","gravatar_id":"","url":"https://api.github.com/users/saljuama","html_url":"https://github.com/saljuama","followers_url":"https://api.github.com/users/saljuama/followers","following_url":"https://api.github.com/users/saljuama/following{/other_user}","gists_url":"https://api.github.com/users/saljuama/gists{/gist_id}","starred_url":"https://api.github.com/users/saljuama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saljuama/subscriptions","organizations_url":"https://api.github.com/users/saljuama/orgs","repos_url":"https://api.github.com/users/saljuama/repos","events_url":"https://api.github.com/users/saljuama/events{/privacy}","received_events_url":"https://api.github.com/users/saljuama/received_events","type":"User","site_admin":false},"position":92,"line":92,"path":"src/test/java/com/saljuama/javafunctional/highorderfunctions/adts/sum/TryHighOrderApiTest.java","commit_id":"b96d69719b227ac1552df006abcdf295728055a2","created_at":"2018-07-26T18:05:07Z","updated_at":"2018-07-26T18:05:07Z","author_association":"OWNER","body":"`simulateWork` is a function that returns void (line 80), also, `peek` function takes a `Consumer` as parameter, which is a function that returns no parameter, but behind the scenes, peek returns the input as output. \r\nUnless you mutate the input inside `peek`, `forEach` will receive exactly `failedStringyNumber`.\r\nIf you want to transform the input, then use `map`, not `peek` :) "}}
{"actor":{"display_login":"saljuama"}}