{"action":"created","issue":{"url":"https://api.github.com/repos/gcanti/fp-ts/issues/320","repository_url":"https://api.github.com/repos/gcanti/fp-ts","labels_url":"https://api.github.com/repos/gcanti/fp-ts/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/gcanti/fp-ts/issues/320/comments","events_url":"https://api.github.com/repos/gcanti/fp-ts/issues/320/events","html_url":"https://github.com/gcanti/fp-ts/pull/320","id":297417266,"number":320,"title":"Add scan left function","user":{"login":"PaNaVTEC","id":837104,"avatar_url":"https://avatars3.githubusercontent.com/u/837104?v=4","gravatar_id":"","url":"https://api.github.com/users/PaNaVTEC","html_url":"https://github.com/PaNaVTEC","followers_url":"https://api.github.com/users/PaNaVTEC/followers","following_url":"https://api.github.com/users/PaNaVTEC/following{/other_user}","gists_url":"https://api.github.com/users/PaNaVTEC/gists{/gist_id}","starred_url":"https://api.github.com/users/PaNaVTEC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaNaVTEC/subscriptions","organizations_url":"https://api.github.com/users/PaNaVTEC/orgs","repos_url":"https://api.github.com/users/PaNaVTEC/repos","events_url":"https://api.github.com/users/PaNaVTEC/events{/privacy}","received_events_url":"https://api.github.com/users/PaNaVTEC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-15T11:45:15Z","updated_at":"2018-02-15T13:45:19Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/gcanti/fp-ts/pulls/320","html_url":"https://github.com/gcanti/fp-ts/pull/320","diff_url":"https://github.com/gcanti/fp-ts/pull/320.diff","patch_url":"https://github.com/gcanti/fp-ts/pull/320.patch"},"body":"Hi, \r\n\r\nI've observed that in haskell/scala they have a scan function which allows to do a fold carrying intermediate steps and I've translated the haskell implementation to TS.\r\n\r\nhttp://hackage.haskell.org/package/base-4.10.1.0/docs/src/GHC.List.html#scanl\r\nhttps://github.com/scala/collection-strawman/blob/57340b9fa6732a0bae37845f16dfb272fbb2173a/collections/src/main/scala/strawman/collection/immutable/LazyList.scala#L271"},"comment":{"url":"https://api.github.com/repos/gcanti/fp-ts/issues/comments/365931266","html_url":"https://github.com/gcanti/fp-ts/pull/320#issuecomment-365931266","issue_url":"https://api.github.com/repos/gcanti/fp-ts/issues/320","id":365931266,"user":{"login":"sledorze","id":416760,"avatar_url":"https://avatars2.githubusercontent.com/u/416760?v=4","gravatar_id":"","url":"https://api.github.com/users/sledorze","html_url":"https://github.com/sledorze","followers_url":"https://api.github.com/users/sledorze/followers","following_url":"https://api.github.com/users/sledorze/following{/other_user}","gists_url":"https://api.github.com/users/sledorze/gists{/gist_id}","starred_url":"https://api.github.com/users/sledorze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledorze/subscriptions","organizations_url":"https://api.github.com/users/sledorze/orgs","repos_url":"https://api.github.com/users/sledorze/repos","events_url":"https://api.github.com/users/sledorze/events{/privacy}","received_events_url":"https://api.github.com/users/sledorze/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T13:45:19Z","updated_at":"2018-02-15T13:45:19Z","author_association":"COLLABORATOR","body":"@PaNaVTEC also I looks to briefly but to fit with the rest of the lib you may reverse the params."}}
{"actor":{"display_login":"sledorze"}}