{"action":"closed","issue":{"url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/166","repository_url":"https://api.github.com/repos/dhall-lang/dhall-lang","labels_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/166/comments","events_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/166/events","html_url":"https://github.com/dhall-lang/dhall-lang/issues/166","id":328493231,"node_id":"MDU6SXNzdWUzMjg0OTMyMzE=","number":166,"title":"Double arithmetic?","user":{"login":"michalrus","id":4366292,"node_id":"MDQ6VXNlcjQzNjYyOTI=","avatar_url":"https://avatars2.githubusercontent.com/u/4366292?v=4","gravatar_id":"","url":"https://api.github.com/users/michalrus","html_url":"https://github.com/michalrus","followers_url":"https://api.github.com/users/michalrus/followers","following_url":"https://api.github.com/users/michalrus/following{/other_user}","gists_url":"https://api.github.com/users/michalrus/gists{/gist_id}","starred_url":"https://api.github.com/users/michalrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalrus/subscriptions","organizations_url":"https://api.github.com/users/michalrus/orgs","repos_url":"https://api.github.com/users/michalrus/repos","events_url":"https://api.github.com/users/michalrus/events{/privacy}","received_events_url":"https://api.github.com/users/michalrus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-01T12:01:05Z","updated_at":"2018-06-12T22:51:32Z","closed_at":"2018-06-12T22:51:32Z","author_association":"NONE","body":"I know it’s deliberately left out, but we have quite a few of these in config files:\r\n\r\n```\r\n, cookieMaxAge = 1209600.0 -- 14 * 24 * 60 * 60\r\n```\r\n\r\nAs sometimes sub-second `NominalDiffTime`s are needed:\r\n\r\n```haskell\r\ninstance Dhall.Interpret NominalDiffTime where\r\n  autoWith _ = fromRational . toRational <$> Dhall.double\r\n```\r\n\r\nWhat would be the best way to go here?"}}
{"actor":{"display_login":"Gabriel439"}}