{"action":"opened","issue":{"url":"https://api.github.com/repos/usp-engineers-community/Open-usp-Tukubai/issues/15","labels_url":"https://api.github.com/repos/usp-engineers-community/Open-usp-Tukubai/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/usp-engineers-community/Open-usp-Tukubai/issues/15/comments","events_url":"https://api.github.com/repos/usp-engineers-community/Open-usp-Tukubai/issues/15/events","html_url":"https://github.com/usp-engineers-community/Open-usp-Tukubai/issues/15","id":69576884,"number":15,"title":"Haskell版のsm2で合計が0の時の出力が無い","user":{"login":"papiron","id":103938,"avatar_url":"https://avatars.githubusercontent.com/u/103938?v=3","gravatar_id":"","url":"https://api.github.com/users/papiron","html_url":"https://github.com/papiron","followers_url":"https://api.github.com/users/papiron/followers","following_url":"https://api.github.com/users/papiron/following{/other_user}","gists_url":"https://api.github.com/users/papiron/gists{/gist_id}","starred_url":"https://api.github.com/users/papiron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papiron/subscriptions","organizations_url":"https://api.github.com/users/papiron/orgs","repos_url":"https://api.github.com/users/papiron/repos","events_url":"https://api.github.com/users/papiron/events{/privacy}","received_events_url":"https://api.github.com/users/papiron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-20T12:32:44Z","updated_at":"2015-04-20T12:32:44Z","closed_at":null,"body":"下記のようなデータの場合、bに関する合計は0になるが、\r\n\r\n    $ cat data.txt \r\n    a 1\r\n    a 3\r\n    a 2\r\n    b 0\r\n    b 0\r\n    c 5\r\n    c 6\r\n    d 0\r\n    d 2\r\n\r\nPython版では0が出力される。\r\n\r\n    $ /usr/local/bin/sm2 1 1 2 2 data.txt \r\n    a 6\r\n    b 0\r\n    c 11\r\n    d 2\r\n\r\nHaskell版では0が出力されない\r\n\r\n    $ ~/bin/sm2 1 1 2 2 data.txt \r\n    a 6\r\n    b \r\n    c 11\r\n    d 2\r\n"}}