{"action":"opened","issue":{"url":"https://api.github.com/repos/EntilZha/PyFunctional/issues/124","repository_url":"https://api.github.com/repos/EntilZha/PyFunctional","labels_url":"https://api.github.com/repos/EntilZha/PyFunctional/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/EntilZha/PyFunctional/issues/124/comments","events_url":"https://api.github.com/repos/EntilZha/PyFunctional/issues/124/events","html_url":"https://github.com/EntilZha/PyFunctional/issues/124","id":304094178,"number":124,"title":"Wierd bug with flatten and partition","user":{"login":"cdoool","id":37249701,"avatar_url":"https://avatars3.githubusercontent.com/u/37249701?v=4","gravatar_id":"","url":"https://api.github.com/users/cdoool","html_url":"https://github.com/cdoool","followers_url":"https://api.github.com/users/cdoool/followers","following_url":"https://api.github.com/users/cdoool/following{/other_user}","gists_url":"https://api.github.com/users/cdoool/gists{/gist_id}","starred_url":"https://api.github.com/users/cdoool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdoool/subscriptions","organizations_url":"https://api.github.com/users/cdoool/orgs","repos_url":"https://api.github.com/users/cdoool/repos","events_url":"https://api.github.com/users/cdoool/events{/privacy}","received_events_url":"https://api.github.com/users/cdoool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-10T18:46:27Z","updated_at":"2018-03-10T18:46:27Z","closed_at":null,"author_association":"NONE","body":"Hi! First of all, thanks for the great library. Thanks to it I no longer want to migrate back to Scala.\r\n\r\nOn a first day of using it, I encountered a strange bug:\r\nval = seq([1,2,3,4,5,6]).partition(lambda x:x>2)\r\n(val = [[3, 4, 5, 6], [1, 2]])\r\nBut\r\nval = seq([[1,2,3],[4,5,6]]).flatten().partition(lambda x:x>2)\r\n(val = [[3, 4, 5, 6], []])\r\n\r\nSurely, it's a bug?"}}
{"actor":{"display_login":"cdoool"}}