{"action":"opened","issue":{"url":"https://api.github.com/repos/twesterhout/splc/issues/2","repository_url":"https://api.github.com/repos/twesterhout/splc","labels_url":"https://api.github.com/repos/twesterhout/splc/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/twesterhout/splc/issues/2/comments","events_url":"https://api.github.com/repos/twesterhout/splc/issues/2/events","html_url":"https://github.com/twesterhout/splc/issues/2","id":298038789,"number":2,"title":"How to deal with newline characters","user":{"login":"twesterhout","id":14264576,"avatar_url":"https://avatars3.githubusercontent.com/u/14264576?v=4","gravatar_id":"","url":"https://api.github.com/users/twesterhout","html_url":"https://github.com/twesterhout","followers_url":"https://api.github.com/users/twesterhout/followers","following_url":"https://api.github.com/users/twesterhout/following{/other_user}","gists_url":"https://api.github.com/users/twesterhout/gists{/gist_id}","starred_url":"https://api.github.com/users/twesterhout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twesterhout/subscriptions","organizations_url":"https://api.github.com/users/twesterhout/orgs","repos_url":"https://api.github.com/users/twesterhout/repos","events_url":"https://api.github.com/users/twesterhout/events{/privacy}","received_events_url":"https://api.github.com/users/twesterhout/received_events","type":"User","site_admin":false},"labels":[{"id":837329442,"url":"https://api.github.com/repos/twesterhout/splc/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T21:40:41Z","updated_at":"2018-02-17T21:40:41Z","closed_at":null,"author_association":"OWNER","body":"Consider, for example, Haskell 98 report. It recognises the following sequences as newlines:\r\n* `\\r\\n`\r\n* `\\r`\r\n* `\\n`\r\n* `\\f`\r\n\r\nShould we handle all of these cases?\r\nAlso, how should we deal with sequences like `\\r\\n\\rX`? Should we recognise it as \"2 newlines followed by 'X'\" or spit an error about inconsistent use of newline characters?"}}
{"actor":{"display_login":"twesterhout"}}