{"action":"created","issue":{"url":"https://api.github.com/repos/dhall-lang/dhall-haskell/issues/449","repository_url":"https://api.github.com/repos/dhall-lang/dhall-haskell","labels_url":"https://api.github.com/repos/dhall-lang/dhall-haskell/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/dhall-lang/dhall-haskell/issues/449/comments","events_url":"https://api.github.com/repos/dhall-lang/dhall-haskell/issues/449/events","html_url":"https://github.com/dhall-lang/dhall-haskell/pull/449","id":330899233,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNzg0NzUy","number":449,"title":"WIP: Implement `as Location` import syntax","user":{"login":"kirelagin","id":451835,"node_id":"MDQ6VXNlcjQ1MTgzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/451835?v=4","gravatar_id":"","url":"https://api.github.com/users/kirelagin","html_url":"https://github.com/kirelagin","followers_url":"https://api.github.com/users/kirelagin/followers","following_url":"https://api.github.com/users/kirelagin/following{/other_user}","gists_url":"https://api.github.com/users/kirelagin/gists{/gist_id}","starred_url":"https://api.github.com/users/kirelagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirelagin/subscriptions","organizations_url":"https://api.github.com/users/kirelagin/orgs","repos_url":"https://api.github.com/users/kirelagin/repos","events_url":"https://api.github.com/users/kirelagin/events{/privacy}","received_events_url":"https://api.github.com/users/kirelagin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-09T16:09:52Z","updated_at":"2018-06-09T20:13:41Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dhall-lang/dhall-haskell/pulls/449","html_url":"https://github.com/dhall-lang/dhall-haskell/pull/449","diff_url":"https://github.com/dhall-lang/dhall-haskell/pull/449.diff","patch_url":"https://github.com/dhall-lang/dhall-haskell/pull/449.patch"},"body":"A fix for dhall-lang/dhall-lang#71.\r\n\r\nThis PR adds two new types:\r\n\r\n* `FilePath`\r\n* `Url`\r\n\r\nand literals for them. The syntax is\r\n\r\n* `./some/path as Location` and\r\n* `https://example.com/url as Location` respectively.\r\n\r\nTrying to use an `env:` import with `as Location` is an error.\r\n\r\nTODO:\r\n\r\n- [ ] Update the language spec :).\r\n- [x] ~Take headers which come from hashes (?) into account in diff.~\r\n- [ ] Use a real `Uri` type for `Url` literals instead of current `Text`?"},"comment":{"url":"https://api.github.com/repos/dhall-lang/dhall-haskell/issues/comments/395995616","html_url":"https://github.com/dhall-lang/dhall-haskell/pull/449#issuecomment-395995616","issue_url":"https://api.github.com/repos/dhall-lang/dhall-haskell/issues/449","id":395995616,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk5NTYxNg==","user":{"login":"Gabriel439","id":1313787,"node_id":"MDQ6VXNlcjEzMTM3ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/1313787?v=4","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":"2018-06-09T20:13:41Z","updated_at":"2018-06-09T20:13:41Z","author_association":"COLLABORATOR","body":"Oh, one other thing: don't forget to mention the `as Location` feature somewhere in the tutorial"}}
{"actor":{"display_login":"Gabriel439"}}