{"action":"created","comment":{"url":"https://api.github.com/repos/rtfeldman/elm-css/pulls/comments/48451305","id":48451305,"diff_hunk":"@@ -833,6 +911,366 @@ n =\n \n \n \n+{- ANGLES -}\n+\n+\n+angleConverter : String -> number -> Angle\n+angleConverter suffix num =\n+    ((numberToString num) ++ suffix)\n+        |> ExplicitAngle\n+        |> ExplicitValue\n+\n+\n+{-| [`deg`](https://developer.mozilla.org/en-US/docs/Web/CSS/angle#deg) units.\n+-}\n+deg : number -> Angle\n+deg =\n+    angleConverter \"deg\"\n+\n+\n+{-| [`grad`](https://developer.mozilla.org/en-US/docs/Web/CSS/angle#grad) units.\n+-}\n+grad : number -> Angle\n+grad =\n+    angleConverter \"grad\"\n+\n+\n+{-| [`rad`](https://developer.mozilla.org/en-US/docs/Web/CSS/angle#rad) units.\n+-}\n+rad : number -> Angle\n+rad =\n+    angleConverter \"rad\"\n+\n+\n+{-| [`turn`](https://developer.mozilla.org/en-US/docs/Web/CSS/angle#tr) units.\n+-}\n+turn : number -> Angle\n+turn =\n+    angleConverter \"turn\"\n+\n+\n+\n+{- TRANSFORMS -}\n+\n+\n+cssFunction : String -> (a -> String) -> List a -> String\n+cssFunction funcName converter args =\n+    args\n+        |> List.map converter\n+        |> String.join \", \"\n+        |> (++) (funcName ++ \"(\")\n+        |> (flip (++)) \")\"","path":"src/Css.elm","position":209,"original_position":209,"commit_id":"1ebaff38cb8f9b91eb63de66b6834fd935cf7c67","original_commit_id":"1ebaff38cb8f9b91eb63de66b6834fd935cf7c67","user":{"login":"lukewestby","id":1508245,"avatar_url":"https://avatars.githubusercontent.com/u/1508245?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewestby","html_url":"https://github.com/lukewestby","followers_url":"https://api.github.com/users/lukewestby/followers","following_url":"https://api.github.com/users/lukewestby/following{/other_user}","gists_url":"https://api.github.com/users/lukewestby/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewestby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewestby/subscriptions","organizations_url":"https://api.github.com/users/lukewestby/orgs","repos_url":"https://api.github.com/users/lukewestby/repos","events_url":"https://api.github.com/users/lukewestby/events{/privacy}","received_events_url":"https://api.github.com/users/lukewestby/received_events","type":"User","site_admin":false},"body":"Definitely! I initially planned to do `cssFunction`, `cssFunction2`, etc. like you had done with `prop1`, `prop2`, etc. but then I saw that `matrix()` accepts 16 arguments and css functions almost always accept the same data type for all arguments so I figured lifting to a `List` would be cool.","created_at":"2015-12-27T02:49:52Z","updated_at":"2015-12-27T02:49:52Z","html_url":"https://github.com/rtfeldman/elm-css/pull/46#discussion_r48451305","pull_request_url":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/rtfeldman/elm-css/pulls/comments/48451305"},"html":{"href":"https://github.com/rtfeldman/elm-css/pull/46#discussion_r48451305"},"pull_request":{"href":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46","id":54609783,"html_url":"https://github.com/rtfeldman/elm-css/pull/46","diff_url":"https://github.com/rtfeldman/elm-css/pull/46.diff","patch_url":"https://github.com/rtfeldman/elm-css/pull/46.patch","issue_url":"https://api.github.com/repos/rtfeldman/elm-css/issues/46","number":46,"state":"open","locked":false,"title":"Transform things","user":{"login":"lukewestby","id":1508245,"avatar_url":"https://avatars.githubusercontent.com/u/1508245?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewestby","html_url":"https://github.com/lukewestby","followers_url":"https://api.github.com/users/lukewestby/followers","following_url":"https://api.github.com/users/lukewestby/following{/other_user}","gists_url":"https://api.github.com/users/lukewestby/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewestby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewestby/subscriptions","organizations_url":"https://api.github.com/users/lukewestby/orgs","repos_url":"https://api.github.com/users/lukewestby/repos","events_url":"https://api.github.com/users/lukewestby/events{/privacy}","received_events_url":"https://api.github.com/users/lukewestby/received_events","type":"User","site_admin":false},"body":"This is everything except `transform-origin`, still haven't thought all the way through overlaying `left | right | top | bottom` with lengths.\r\n\r\nThanks!\r\n\r\nRef #23 ","created_at":"2015-12-27T00:57:31Z","updated_at":"2015-12-27T02:49:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9757b687204c36d9fb055747438d1d737114b1b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46/commits","review_comments_url":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46/comments","review_comment_url":"https://api.github.com/repos/rtfeldman/elm-css/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rtfeldman/elm-css/issues/46/comments","statuses_url":"https://api.github.com/repos/rtfeldman/elm-css/statuses/1ebaff38cb8f9b91eb63de66b6834fd935cf7c67","head":{"label":"lukewestby:master","ref":"master","sha":"1ebaff38cb8f9b91eb63de66b6834fd935cf7c67","user":{"login":"lukewestby","id":1508245,"avatar_url":"https://avatars.githubusercontent.com/u/1508245?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewestby","html_url":"https://github.com/lukewestby","followers_url":"https://api.github.com/users/lukewestby/followers","following_url":"https://api.github.com/users/lukewestby/following{/other_user}","gists_url":"https://api.github.com/users/lukewestby/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewestby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewestby/subscriptions","organizations_url":"https://api.github.com/users/lukewestby/orgs","repos_url":"https://api.github.com/users/lukewestby/repos","events_url":"https://api.github.com/users/lukewestby/events{/privacy}","received_events_url":"https://api.github.com/users/lukewestby/received_events","type":"User","site_admin":false},"repo":{"id":47475267,"name":"elm-css","full_name":"lukewestby/elm-css","owner":{"login":"lukewestby","id":1508245,"avatar_url":"https://avatars.githubusercontent.com/u/1508245?v=3","gravatar_id":"","url":"https://api.github.com/users/lukewestby","html_url":"https://github.com/lukewestby","followers_url":"https://api.github.com/users/lukewestby/followers","following_url":"https://api.github.com/users/lukewestby/following{/other_user}","gists_url":"https://api.github.com/users/lukewestby/gists{/gist_id}","starred_url":"https://api.github.com/users/lukewestby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukewestby/subscriptions","organizations_url":"https://api.github.com/users/lukewestby/orgs","repos_url":"https://api.github.com/users/lukewestby/repos","events_url":"https://api.github.com/users/lukewestby/events{/privacy}","received_events_url":"https://api.github.com/users/lukewestby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukewestby/elm-css","description":"NOT REMOTELY PRODUCTION-READY proof of concept for an Elm CSS preprocessor that lets you use union types rather than Strings for your classes and IDs","fork":true,"url":"https://api.github.com/repos/lukewestby/elm-css","forks_url":"https://api.github.com/repos/lukewestby/elm-css/forks","keys_url":"https://api.github.com/repos/lukewestby/elm-css/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukewestby/elm-css/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukewestby/elm-css/teams","hooks_url":"https://api.github.com/repos/lukewestby/elm-css/hooks","issue_events_url":"https://api.github.com/repos/lukewestby/elm-css/issues/events{/number}","events_url":"https://api.github.com/repos/lukewestby/elm-css/events","assignees_url":"https://api.github.com/repos/lukewestby/elm-css/assignees{/user}","branches_url":"https://api.github.com/repos/lukewestby/elm-css/branches{/branch}","tags_url":"https://api.github.com/repos/lukewestby/elm-css/tags","blobs_url":"https://api.github.com/repos/lukewestby/elm-css/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukewestby/elm-css/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukewestby/elm-css/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukewestby/elm-css/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukewestby/elm-css/statuses/{sha}","languages_url":"https://api.github.com/repos/lukewestby/elm-css/languages","stargazers_url":"https://api.github.com/repos/lukewestby/elm-css/stargazers","contributors_url":"https://api.github.com/repos/lukewestby/elm-css/contributors","subscribers_url":"https://api.github.com/repos/lukewestby/elm-css/subscribers","subscription_url":"https://api.github.com/repos/lukewestby/elm-css/subscription","commits_url":"https://api.github.com/repos/lukewestby/elm-css/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukewestby/elm-css/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukewestby/elm-css/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukewestby/elm-css/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukewestby/elm-css/contents/{+path}","compare_url":"https://api.github.com/repos/lukewestby/elm-css/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukewestby/elm-css/merges","archive_url":"https://api.github.com/repos/lukewestby/elm-css/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukewestby/elm-css/downloads","issues_url":"https://api.github.com/repos/lukewestby/elm-css/issues{/number}","pulls_url":"https://api.github.com/repos/lukewestby/elm-css/pulls{/number}","milestones_url":"https://api.github.com/repos/lukewestby/elm-css/milestones{/number}","notifications_url":"https://api.github.com/repos/lukewestby/elm-css/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukewestby/elm-css/labels{/name}","releases_url":"https://api.github.com/repos/lukewestby/elm-css/releases{/id}","created_at":"2015-12-05T22:32:21Z","updated_at":"2015-12-05T22:32:22Z","pushed_at":"2015-12-27T00:55:53Z","git_url":"git://github.com/lukewestby/elm-css.git","ssh_url":"git@github.com:lukewestby/elm-css.git","clone_url":"https://github.com/lukewestby/elm-css.git","svn_url":"https://github.com/lukewestby/elm-css","homepage":null,"size":3784,"stargazers_count":0,"watchers_count":0,"language":"Elm","has_issues":false,"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":"rtfeldman:master","ref":"master","sha":"b87bd8fbbbd6db44edda98e8fd689d517f402d0a","user":{"login":"rtfeldman","id":1094080,"avatar_url":"https://avatars.githubusercontent.com/u/1094080?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfeldman","html_url":"https://github.com/rtfeldman","followers_url":"https://api.github.com/users/rtfeldman/followers","following_url":"https://api.github.com/users/rtfeldman/following{/other_user}","gists_url":"https://api.github.com/users/rtfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfeldman/subscriptions","organizations_url":"https://api.github.com/users/rtfeldman/orgs","repos_url":"https://api.github.com/users/rtfeldman/repos","events_url":"https://api.github.com/users/rtfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/rtfeldman/received_events","type":"User","site_admin":false},"repo":{"id":42820959,"name":"elm-css","full_name":"rtfeldman/elm-css","owner":{"login":"rtfeldman","id":1094080,"avatar_url":"https://avatars.githubusercontent.com/u/1094080?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfeldman","html_url":"https://github.com/rtfeldman","followers_url":"https://api.github.com/users/rtfeldman/followers","following_url":"https://api.github.com/users/rtfeldman/following{/other_user}","gists_url":"https://api.github.com/users/rtfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfeldman/subscriptions","organizations_url":"https://api.github.com/users/rtfeldman/orgs","repos_url":"https://api.github.com/users/rtfeldman/repos","events_url":"https://api.github.com/users/rtfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/rtfeldman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rtfeldman/elm-css","description":"NOT REMOTELY PRODUCTION-READY proof of concept for an Elm CSS preprocessor that lets you use union types rather than Strings for your classes and IDs","fork":false,"url":"https://api.github.com/repos/rtfeldman/elm-css","forks_url":"https://api.github.com/repos/rtfeldman/elm-css/forks","keys_url":"https://api.github.com/repos/rtfeldman/elm-css/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rtfeldman/elm-css/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rtfeldman/elm-css/teams","hooks_url":"https://api.github.com/repos/rtfeldman/elm-css/hooks","issue_events_url":"https://api.github.com/repos/rtfeldman/elm-css/issues/events{/number}","events_url":"https://api.github.com/repos/rtfeldman/elm-css/events","assignees_url":"https://api.github.com/repos/rtfeldman/elm-css/assignees{/user}","branches_url":"https://api.github.com/repos/rtfeldman/elm-css/branches{/branch}","tags_url":"https://api.github.com/repos/rtfeldman/elm-css/tags","blobs_url":"https://api.github.com/repos/rtfeldman/elm-css/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rtfeldman/elm-css/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rtfeldman/elm-css/git/refs{/sha}","trees_url":"https://api.github.com/repos/rtfeldman/elm-css/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rtfeldman/elm-css/statuses/{sha}","languages_url":"https://api.github.com/repos/rtfeldman/elm-css/languages","stargazers_url":"https://api.github.com/repos/rtfeldman/elm-css/stargazers","contributors_url":"https://api.github.com/repos/rtfeldman/elm-css/contributors","subscribers_url":"https://api.github.com/repos/rtfeldman/elm-css/subscribers","subscription_url":"https://api.github.com/repos/rtfeldman/elm-css/subscription","commits_url":"https://api.github.com/repos/rtfeldman/elm-css/commits{/sha}","git_commits_url":"https://api.github.com/repos/rtfeldman/elm-css/git/commits{/sha}","comments_url":"https://api.github.com/repos/rtfeldman/elm-css/comments{/number}","issue_comment_url":"https://api.github.com/repos/rtfeldman/elm-css/issues/comments{/number}","contents_url":"https://api.github.com/repos/rtfeldman/elm-css/contents/{+path}","compare_url":"https://api.github.com/repos/rtfeldman/elm-css/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rtfeldman/elm-css/merges","archive_url":"https://api.github.com/repos/rtfeldman/elm-css/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rtfeldman/elm-css/downloads","issues_url":"https://api.github.com/repos/rtfeldman/elm-css/issues{/number}","pulls_url":"https://api.github.com/repos/rtfeldman/elm-css/pulls{/number}","milestones_url":"https://api.github.com/repos/rtfeldman/elm-css/milestones{/number}","notifications_url":"https://api.github.com/repos/rtfeldman/elm-css/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rtfeldman/elm-css/labels{/name}","releases_url":"https://api.github.com/repos/rtfeldman/elm-css/releases{/id}","created_at":"2015-09-20T16:52:06Z","updated_at":"2015-12-22T22:17:48Z","pushed_at":"2015-12-27T02:44:09Z","git_url":"git://github.com/rtfeldman/elm-css.git","ssh_url":"git@github.com:rtfeldman/elm-css.git","clone_url":"https://github.com/rtfeldman/elm-css.git","svn_url":"https://github.com/rtfeldman/elm-css","homepage":null,"size":3786,"stargazers_count":54,"watchers_count":54,"language":"Elm","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":15,"forks":3,"open_issues":15,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46"},"html":{"href":"https://github.com/rtfeldman/elm-css/pull/46"},"issue":{"href":"https://api.github.com/repos/rtfeldman/elm-css/issues/46"},"comments":{"href":"https://api.github.com/repos/rtfeldman/elm-css/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/rtfeldman/elm-css/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rtfeldman/elm-css/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/rtfeldman/elm-css/statuses/1ebaff38cb8f9b91eb63de66b6834fd935cf7c67"}}}}