{"action":"created","issue":{"url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/issues/379","repository_url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye","labels_url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/issues/379/comments","events_url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/issues/379/events","html_url":"https://github.com/tomjaguarpaw/haskell-opaleye/pull/379","id":306152379,"number":379,"title":"Fix time range queries","user":{"login":"BlackBrane","id":6394292,"avatar_url":"https://avatars3.githubusercontent.com/u/6394292?v=4","gravatar_id":"","url":"https://api.github.com/users/BlackBrane","html_url":"https://github.com/BlackBrane","followers_url":"https://api.github.com/users/BlackBrane/followers","following_url":"https://api.github.com/users/BlackBrane/following{/other_user}","gists_url":"https://api.github.com/users/BlackBrane/gists{/gist_id}","starred_url":"https://api.github.com/users/BlackBrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlackBrane/subscriptions","organizations_url":"https://api.github.com/users/BlackBrane/orgs","repos_url":"https://api.github.com/users/BlackBrane/repos","events_url":"https://api.github.com/users/BlackBrane/events{/privacy}","received_events_url":"https://api.github.com/users/BlackBrane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-17T12:23:08Z","updated_at":"2018-03-18T10:12:21Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/pulls/379","html_url":"https://github.com/tomjaguarpaw/haskell-opaleye/pull/379","diff_url":"https://github.com/tomjaguarpaw/haskell-opaleye/pull/379.diff","patch_url":"https://github.com/tomjaguarpaw/haskell-opaleye/pull/379.patch"},"body":"I found that solving the issue in a satisfactory, non-hacky way required changing the representation in `PrimExpr`, as we need to express a single bound as a function argument, rather than expressing the whole range together. Particularly since `pgRange` is what knows about the name of the range type/constructor functions.\r\n\r\nFixes #377 "},"comment":{"url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/issues/comments/373986430","html_url":"https://github.com/tomjaguarpaw/haskell-opaleye/pull/379#issuecomment-373986430","issue_url":"https://api.github.com/repos/tomjaguarpaw/haskell-opaleye/issues/379","id":373986430,"user":{"login":"tomjaguarpaw","id":1951567,"avatar_url":"https://avatars2.githubusercontent.com/u/1951567?v=4","gravatar_id":"","url":"https://api.github.com/users/tomjaguarpaw","html_url":"https://github.com/tomjaguarpaw","followers_url":"https://api.github.com/users/tomjaguarpaw/followers","following_url":"https://api.github.com/users/tomjaguarpaw/following{/other_user}","gists_url":"https://api.github.com/users/tomjaguarpaw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjaguarpaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjaguarpaw/subscriptions","organizations_url":"https://api.github.com/users/tomjaguarpaw/orgs","repos_url":"https://api.github.com/users/tomjaguarpaw/repos","events_url":"https://api.github.com/users/tomjaguarpaw/events{/privacy}","received_events_url":"https://api.github.com/users/tomjaguarpaw/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T10:12:21Z","updated_at":"2018-03-18T10:12:21Z","author_association":"OWNER","body":"... or rather merge them into single constructor called `Bounded` or something."}}
{"actor":{"display_login":"tomjaguarpaw"}}