{"action":"created","comment":{"url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/comments/130973342","pull_request_review_id":53905482,"id":130973342,"diff_hunk":"@@ -273,11 +294,22 @@ fromInt m = rgb r g b\n         r = (n `shr` 16) .&. 0xff\n         n = clamp 0 0xffffff m\n \n--- | Convert a `Color` to its hue, saturation, lightness and alpha values. See\n+-- | Convert a `Color` to its Hue, Saturation, Lightness and Alpha values. See\n -- | `hsla` for the ranges of each channel.\n toHSLA :: Color -> { h :: Number, s :: Number, l :: Number, a :: Number }\n toHSLA (HSLA h s l a) = { h, s, l, a }\n \n+-- | Convert a `Color` to its Hue, Saturation, Value and Alpha values. See\n+-- | `hsva` for the ranges of each channel.\n+toHSVA :: Color -> {h :: Number, s :: Number, v :: Number, a :: Number}","path":"src/Color.purs","position":75,"original_position":75,"commit_id":"98549f545eb1df896a075bfac566b850bc3c7ac9","original_commit_id":"98549f545eb1df896a075bfac566b850bc3c7ac9","user":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars2.githubusercontent.com/u/4209276?v=4","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"body":"Can we please keep the code style consistent here (spaces after `{` and before `}`)?","created_at":"2017-08-02T19:28:50Z","updated_at":"2017-08-02T19:35:28Z","html_url":"https://github.com/sharkdp/purescript-colors/pull/27#discussion_r130973342","pull_request_url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/comments/130973342"},"html":{"href":"https://github.com/sharkdp/purescript-colors/pull/27#discussion_r130973342"},"pull_request":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27","id":133757594,"html_url":"https://github.com/sharkdp/purescript-colors/pull/27","diff_url":"https://github.com/sharkdp/purescript-colors/pull/27.diff","patch_url":"https://github.com/sharkdp/purescript-colors/pull/27.patch","issue_url":"https://api.github.com/repos/sharkdp/purescript-colors/issues/27","number":27,"state":"open","locked":false,"title":"add hsv support","user":{"login":"safareli","id":1932383,"avatar_url":"https://avatars1.githubusercontent.com/u/1932383?v=4","gravatar_id":"","url":"https://api.github.com/users/safareli","html_url":"https://github.com/safareli","followers_url":"https://api.github.com/users/safareli/followers","following_url":"https://api.github.com/users/safareli/following{/other_user}","gists_url":"https://api.github.com/users/safareli/gists{/gist_id}","starred_url":"https://api.github.com/users/safareli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/safareli/subscriptions","organizations_url":"https://api.github.com/users/safareli/orgs","repos_url":"https://api.github.com/users/safareli/repos","events_url":"https://api.github.com/users/safareli/events{/privacy}","received_events_url":"https://api.github.com/users/safareli/received_events","type":"User","site_admin":false},"body":"fix #23","created_at":"2017-08-02T16:49:10Z","updated_at":"2017-08-02T19:35:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73890b0c2f1dc94c93bc50e2568fd386408197a2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27/commits","review_comments_url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27/comments","review_comment_url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sharkdp/purescript-colors/issues/27/comments","statuses_url":"https://api.github.com/repos/sharkdp/purescript-colors/statuses/98549f545eb1df896a075bfac566b850bc3c7ac9","head":{"label":"safareli:hsv","ref":"hsv","sha":"98549f545eb1df896a075bfac566b850bc3c7ac9","user":{"login":"safareli","id":1932383,"avatar_url":"https://avatars1.githubusercontent.com/u/1932383?v=4","gravatar_id":"","url":"https://api.github.com/users/safareli","html_url":"https://github.com/safareli","followers_url":"https://api.github.com/users/safareli/followers","following_url":"https://api.github.com/users/safareli/following{/other_user}","gists_url":"https://api.github.com/users/safareli/gists{/gist_id}","starred_url":"https://api.github.com/users/safareli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/safareli/subscriptions","organizations_url":"https://api.github.com/users/safareli/orgs","repos_url":"https://api.github.com/users/safareli/repos","events_url":"https://api.github.com/users/safareli/events{/privacy}","received_events_url":"https://api.github.com/users/safareli/received_events","type":"User","site_admin":false},"repo":{"id":97870843,"name":"purescript-colors","full_name":"safareli/purescript-colors","owner":{"login":"safareli","id":1932383,"avatar_url":"https://avatars1.githubusercontent.com/u/1932383?v=4","gravatar_id":"","url":"https://api.github.com/users/safareli","html_url":"https://github.com/safareli","followers_url":"https://api.github.com/users/safareli/followers","following_url":"https://api.github.com/users/safareli/following{/other_user}","gists_url":"https://api.github.com/users/safareli/gists{/gist_id}","starred_url":"https://api.github.com/users/safareli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/safareli/subscriptions","organizations_url":"https://api.github.com/users/safareli/orgs","repos_url":"https://api.github.com/users/safareli/repos","events_url":"https://api.github.com/users/safareli/events{/privacy}","received_events_url":"https://api.github.com/users/safareli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/safareli/purescript-colors","description":"Convert, manipulate, analyze, blend, color scales, color schemes","fork":true,"url":"https://api.github.com/repos/safareli/purescript-colors","forks_url":"https://api.github.com/repos/safareli/purescript-colors/forks","keys_url":"https://api.github.com/repos/safareli/purescript-colors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/safareli/purescript-colors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/safareli/purescript-colors/teams","hooks_url":"https://api.github.com/repos/safareli/purescript-colors/hooks","issue_events_url":"https://api.github.com/repos/safareli/purescript-colors/issues/events{/number}","events_url":"https://api.github.com/repos/safareli/purescript-colors/events","assignees_url":"https://api.github.com/repos/safareli/purescript-colors/assignees{/user}","branches_url":"https://api.github.com/repos/safareli/purescript-colors/branches{/branch}","tags_url":"https://api.github.com/repos/safareli/purescript-colors/tags","blobs_url":"https://api.github.com/repos/safareli/purescript-colors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/safareli/purescript-colors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/safareli/purescript-colors/git/refs{/sha}","trees_url":"https://api.github.com/repos/safareli/purescript-colors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/safareli/purescript-colors/statuses/{sha}","languages_url":"https://api.github.com/repos/safareli/purescript-colors/languages","stargazers_url":"https://api.github.com/repos/safareli/purescript-colors/stargazers","contributors_url":"https://api.github.com/repos/safareli/purescript-colors/contributors","subscribers_url":"https://api.github.com/repos/safareli/purescript-colors/subscribers","subscription_url":"https://api.github.com/repos/safareli/purescript-colors/subscription","commits_url":"https://api.github.com/repos/safareli/purescript-colors/commits{/sha}","git_commits_url":"https://api.github.com/repos/safareli/purescript-colors/git/commits{/sha}","comments_url":"https://api.github.com/repos/safareli/purescript-colors/comments{/number}","issue_comment_url":"https://api.github.com/repos/safareli/purescript-colors/issues/comments{/number}","contents_url":"https://api.github.com/repos/safareli/purescript-colors/contents/{+path}","compare_url":"https://api.github.com/repos/safareli/purescript-colors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/safareli/purescript-colors/merges","archive_url":"https://api.github.com/repos/safareli/purescript-colors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/safareli/purescript-colors/downloads","issues_url":"https://api.github.com/repos/safareli/purescript-colors/issues{/number}","pulls_url":"https://api.github.com/repos/safareli/purescript-colors/pulls{/number}","milestones_url":"https://api.github.com/repos/safareli/purescript-colors/milestones{/number}","notifications_url":"https://api.github.com/repos/safareli/purescript-colors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/safareli/purescript-colors/labels{/name}","releases_url":"https://api.github.com/repos/safareli/purescript-colors/releases{/id}","deployments_url":"https://api.github.com/repos/safareli/purescript-colors/deployments","created_at":"2017-07-20T19:24:02Z","updated_at":"2017-07-20T19:24:04Z","pushed_at":"2017-08-02T17:53:14Z","git_url":"git://github.com/safareli/purescript-colors.git","ssh_url":"git@github.com:safareli/purescript-colors.git","clone_url":"https://github.com/safareli/purescript-colors.git","svn_url":"https://github.com/safareli/purescript-colors","homepage":"http://sharkdp.github.io/purescript-colors/","size":480,"stargazers_count":0,"watchers_count":0,"language":"PureScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sharkdp:master","ref":"master","sha":"31518deebe39c74eee75337dc18e69f9ba7671bd","user":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars2.githubusercontent.com/u/4209276?v=4","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"repo":{"id":50784779,"name":"purescript-colors","full_name":"sharkdp/purescript-colors","owner":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars2.githubusercontent.com/u/4209276?v=4","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sharkdp/purescript-colors","description":"Convert, manipulate, analyze, blend, color scales, color schemes","fork":false,"url":"https://api.github.com/repos/sharkdp/purescript-colors","forks_url":"https://api.github.com/repos/sharkdp/purescript-colors/forks","keys_url":"https://api.github.com/repos/sharkdp/purescript-colors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sharkdp/purescript-colors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sharkdp/purescript-colors/teams","hooks_url":"https://api.github.com/repos/sharkdp/purescript-colors/hooks","issue_events_url":"https://api.github.com/repos/sharkdp/purescript-colors/issues/events{/number}","events_url":"https://api.github.com/repos/sharkdp/purescript-colors/events","assignees_url":"https://api.github.com/repos/sharkdp/purescript-colors/assignees{/user}","branches_url":"https://api.github.com/repos/sharkdp/purescript-colors/branches{/branch}","tags_url":"https://api.github.com/repos/sharkdp/purescript-colors/tags","blobs_url":"https://api.github.com/repos/sharkdp/purescript-colors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sharkdp/purescript-colors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sharkdp/purescript-colors/git/refs{/sha}","trees_url":"https://api.github.com/repos/sharkdp/purescript-colors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sharkdp/purescript-colors/statuses/{sha}","languages_url":"https://api.github.com/repos/sharkdp/purescript-colors/languages","stargazers_url":"https://api.github.com/repos/sharkdp/purescript-colors/stargazers","contributors_url":"https://api.github.com/repos/sharkdp/purescript-colors/contributors","subscribers_url":"https://api.github.com/repos/sharkdp/purescript-colors/subscribers","subscription_url":"https://api.github.com/repos/sharkdp/purescript-colors/subscription","commits_url":"https://api.github.com/repos/sharkdp/purescript-colors/commits{/sha}","git_commits_url":"https://api.github.com/repos/sharkdp/purescript-colors/git/commits{/sha}","comments_url":"https://api.github.com/repos/sharkdp/purescript-colors/comments{/number}","issue_comment_url":"https://api.github.com/repos/sharkdp/purescript-colors/issues/comments{/number}","contents_url":"https://api.github.com/repos/sharkdp/purescript-colors/contents/{+path}","compare_url":"https://api.github.com/repos/sharkdp/purescript-colors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sharkdp/purescript-colors/merges","archive_url":"https://api.github.com/repos/sharkdp/purescript-colors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sharkdp/purescript-colors/downloads","issues_url":"https://api.github.com/repos/sharkdp/purescript-colors/issues{/number}","pulls_url":"https://api.github.com/repos/sharkdp/purescript-colors/pulls{/number}","milestones_url":"https://api.github.com/repos/sharkdp/purescript-colors/milestones{/number}","notifications_url":"https://api.github.com/repos/sharkdp/purescript-colors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sharkdp/purescript-colors/labels{/name}","releases_url":"https://api.github.com/repos/sharkdp/purescript-colors/releases{/id}","deployments_url":"https://api.github.com/repos/sharkdp/purescript-colors/deployments","created_at":"2016-01-31T16:59:03Z","updated_at":"2017-03-19T00:40:46Z","pushed_at":"2017-08-02T17:50:30Z","git_url":"git://github.com/sharkdp/purescript-colors.git","ssh_url":"git@github.com:sharkdp/purescript-colors.git","clone_url":"https://github.com/sharkdp/purescript-colors.git","svn_url":"https://github.com/sharkdp/purescript-colors","homepage":"http://sharkdp.github.io/purescript-colors/","size":486,"stargazers_count":20,"watchers_count":20,"language":"PureScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27"},"html":{"href":"https://github.com/sharkdp/purescript-colors/pull/27"},"issue":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/issues/27"},"comments":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/sharkdp/purescript-colors/statuses/98549f545eb1df896a075bfac566b850bc3c7ac9"}}}}
{"actor":{"display_login":"sharkdp"}}