{"action":"created","issue":{"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/62","labels_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/62/comments","events_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/62/events","html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/issues/62","id":88214653,"number":62,"title":"Unexpected `spaces1` `sed` behaviour","user":{"login":"xged","id":6420591,"avatar_url":"https://avatars.githubusercontent.com/u/6420591?v=3","gravatar_id":"","url":"https://api.github.com/users/xged","html_url":"https://github.com/xged","followers_url":"https://api.github.com/users/xged/followers","following_url":"https://api.github.com/users/xged/following{/other_user}","gists_url":"https://api.github.com/users/xged/gists{/gist_id}","starred_url":"https://api.github.com/users/xged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xged/subscriptions","organizations_url":"https://api.github.com/users/xged/orgs","repos_url":"https://api.github.com/users/xged/repos","events_url":"https://api.github.com/users/xged/events{/privacy}","received_events_url":"https://api.github.com/users/xged/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-14T16:54:26Z","updated_at":"2015-06-15T03:34:46Z","closed_at":null,"body":"    λ> stdout $ input \"t.txt\"\r\n    ()\r\n    main =\r\n    λ> stdout $ sed (spaces1 *> \"main\" *> return \"foo\") \"()\\nmain =\"\r\n    ()foo =\r\n    λ> stdout $ sed (spaces1 *> \"main\" *> return \"foo\") $ input \"t.txt\"\r\n    ()\r\n    main =\r\nI was expecting last output to be `()foo =`"},"comment":{"url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/comments/111910805","html_url":"https://github.com/Gabriel439/Haskell-Turtle-Library/issues/62#issuecomment-111910805","issue_url":"https://api.github.com/repos/Gabriel439/Haskell-Turtle-Library/issues/62","id":111910805,"user":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars.githubusercontent.com/u/1313787?v=3","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T03:34:46Z","updated_at":"2015-06-15T03:34:46Z","body":"Yes, `input` splits lines to stream the file contents.\r\n\r\nIf you want to read in the entire file's contents as a single uninterrupted string, use the `strict` utility:\r\n\r\n```haskell\r\nstrict (input \"t.txt\") :: IO Text\r\n```"}}