{"action":"opened","issue":{"url":"https://api.github.com/repos/serokell/o-clock/issues/69","repository_url":"https://api.github.com/repos/serokell/o-clock","labels_url":"https://api.github.com/repos/serokell/o-clock/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/serokell/o-clock/issues/69/comments","events_url":"https://api.github.com/repos/serokell/o-clock/issues/69/events","html_url":"https://github.com/serokell/o-clock/issues/69","id":293837282,"number":69,"title":"Explore more API design choices for 'threadDelay'","user":{"login":"ChShersh","id":4276606,"avatar_url":"https://avatars0.githubusercontent.com/u/4276606?v=4","gravatar_id":"","url":"https://api.github.com/users/ChShersh","html_url":"https://github.com/ChShersh","followers_url":"https://api.github.com/users/ChShersh/followers","following_url":"https://api.github.com/users/ChShersh/following{/other_user}","gists_url":"https://api.github.com/users/ChShersh/gists{/gist_id}","starred_url":"https://api.github.com/users/ChShersh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChShersh/subscriptions","organizations_url":"https://api.github.com/users/ChShersh/orgs","repos_url":"https://api.github.com/users/ChShersh/repos","events_url":"https://api.github.com/users/ChShersh/events{/privacy}","received_events_url":"https://api.github.com/users/ChShersh/received_events","type":"User","site_admin":false},"labels":[{"id":795962856,"url":"https://api.github.com/repos/serokell/o-clock/labels/api%20&%20interface","name":"api & interface","color":"bf3d4a","default":false},{"id":794064856,"url":"https://api.github.com/repos/serokell/o-clock/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T10:14:21Z","updated_at":"2018-02-02T10:14:21Z","closed_at":null,"author_association":"MEMBER","body":"Currently we have several ways to call `threadDelay` function:\r\n\r\n```haskell\r\nthreadDelay $ sec 5\r\nthreadDelay (5 :: Time Second)\r\nthreadDelay @Second 5\r\n```\r\n\r\nBut we can have more! We can have other functions so it would be possible to write something like this:\r\n\r\n```haskell\r\ntimeDelay1 5 sec\r\ntimeDelay2 5 @Second\r\n```\r\n\r\nDoes it look convenient? What do you think?\r\n\r\nInspired by this tweet:\r\n\r\n* https://twitter.com/Axman6/status/959196484498472965"}}
{"actor":{"display_login":"ChShersh"}}