{"action":"created","issue":{"url":"https://api.github.com/repos/bokesan/IntervalMap/issues/1","labels_url":"https://api.github.com/repos/bokesan/IntervalMap/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bokesan/IntervalMap/issues/1/comments","events_url":"https://api.github.com/repos/bokesan/IntervalMap/issues/1/events","html_url":"https://github.com/bokesan/IntervalMap/pull/1","id":125263690,"number":1,"title":"Add combine function for Intervals.","user":{"login":"cheecheeo","id":175882,"avatar_url":"https://avatars.githubusercontent.com/u/175882?v=3","gravatar_id":"","url":"https://api.github.com/users/cheecheeo","html_url":"https://github.com/cheecheeo","followers_url":"https://api.github.com/users/cheecheeo/followers","following_url":"https://api.github.com/users/cheecheeo/following{/other_user}","gists_url":"https://api.github.com/users/cheecheeo/gists{/gist_id}","starred_url":"https://api.github.com/users/cheecheeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheecheeo/subscriptions","organizations_url":"https://api.github.com/users/cheecheeo/orgs","repos_url":"https://api.github.com/users/cheecheeo/repos","events_url":"https://api.github.com/users/cheecheeo/events{/privacy}","received_events_url":"https://api.github.com/users/cheecheeo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-06T21:09:23Z","updated_at":"2016-01-08T19:08:36Z","closed_at":"2016-01-07T07:54:00Z","pull_request":{"url":"https://api.github.com/repos/bokesan/IntervalMap/pulls/1","html_url":"https://github.com/bokesan/IntervalMap/pull/1","diff_url":"https://github.com/bokesan/IntervalMap/pull/1.diff","patch_url":"https://github.com/bokesan/IntervalMap/pull/1.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/bokesan/IntervalMap/issues/comments/170095548","html_url":"https://github.com/bokesan/IntervalMap/pull/1#issuecomment-170095548","issue_url":"https://api.github.com/repos/bokesan/IntervalMap/issues/1","id":170095548,"user":{"login":"cheecheeo","id":175882,"avatar_url":"https://avatars.githubusercontent.com/u/175882?v=3","gravatar_id":"","url":"https://api.github.com/users/cheecheeo","html_url":"https://github.com/cheecheeo","followers_url":"https://api.github.com/users/cheecheeo/followers","following_url":"https://api.github.com/users/cheecheeo/following{/other_user}","gists_url":"https://api.github.com/users/cheecheeo/gists{/gist_id}","starred_url":"https://api.github.com/users/cheecheeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheecheeo/subscriptions","organizations_url":"https://api.github.com/users/cheecheeo/orgs","repos_url":"https://api.github.com/users/cheecheeo/repos","events_url":"https://api.github.com/users/cheecheeo/events{/privacy}","received_events_url":"https://api.github.com/users/cheecheeo/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T19:08:36Z","updated_at":"2016-01-08T19:08:36Z","body":"In response to your flatten question: something like that is my end goal, I'm not sure how hard it would be to implement in the IntervalMap data structure. But, since my process is more mapreduce-y I can just use a foldl on lists and rely on the input lists being sorted by an external program."}}