{"action":"created","comment":{"url":"https://api.github.com/repos/sass/sass/pulls/comments/64123108","id":64123108,"diff_hunk":"@@ -676,6 +676,7 @@ SassScript supports seven main data types:\n * nulls (e.g. `null`)\n * lists of values, separated by spaces or commas (e.g. `1.5em 1em 0 2em`, `Helvetica, Arial, sans-serif`)\n * maps from one value to another (e.g. `(key1: value1, key2: value2)`)\n+* callable values that refer to functions","path":"doc-src/SASS_REFERENCE.md","position":13,"original_position":13,"commit_id":"8b3ff1f2ba312946adb99a0affe8bd0dc2a1e1ff","original_commit_id":"8b3ff1f2ba312946adb99a0affe8bd0dc2a1e1ff","user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"body":"I'd just describe these as \"first-class functions\", at least until we have first-class mixins as well. That's more consistent with the terminology from other languages.","created_at":"2016-05-21T00:13:15Z","updated_at":"2016-05-21T00:13:15Z","html_url":"https://github.com/sass/sass/pull/2061#discussion_r64123108","pull_request_url":"https://api.github.com/repos/sass/sass/pulls/2061","_links":{"self":{"href":"https://api.github.com/repos/sass/sass/pulls/comments/64123108"},"html":{"href":"https://github.com/sass/sass/pull/2061#discussion_r64123108"},"pull_request":{"href":"https://api.github.com/repos/sass/sass/pulls/2061"}}},"pull_request":{"url":"https://api.github.com/repos/sass/sass/pulls/2061","id":70456756,"html_url":"https://github.com/sass/sass/pull/2061","diff_url":"https://github.com/sass/sass/pull/2061.diff","patch_url":"https://github.com/sass/sass/pull/2061.patch","issue_url":"https://api.github.com/repos/sass/sass/issues/2061","number":2061,"state":"open","locked":false,"title":"Introduce function-reference() which returns a Callable for use with call()","user":{"login":"chriseppstein","id":1839,"avatar_url":"https://avatars.githubusercontent.com/u/1839?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseppstein","html_url":"https://github.com/chriseppstein","followers_url":"https://api.github.com/users/chriseppstein/followers","following_url":"https://api.github.com/users/chriseppstein/following{/other_user}","gists_url":"https://api.github.com/users/chriseppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseppstein/subscriptions","organizations_url":"https://api.github.com/users/chriseppstein/orgs","repos_url":"https://api.github.com/users/chriseppstein/repos","events_url":"https://api.github.com/users/chriseppstein/events{/privacy}","received_events_url":"https://api.github.com/users/chriseppstein/received_events","type":"User","site_admin":false},"body":"In 4.0, the call function taking a string won't work because name resolution has to be done lexically. So in 3.5 we are deprecating the string form of `call` and introducing a new function `function-reference` which returns a value that can preserve the lexical scope (closure) at the time the reference is created. In 4.0, this allows that function to be invoked in other lexical contexts. In 3.5, this will silence the deprecation warning and provide a basic facility for overriding global functions and then delegating to them.\r\n\r\nSpecs are in https://github.com/sass/sass-spec/pull/867/commits/bc48e5ec2164ae88753beb074f00f5ad62d0e4d6  and part of https://github.com/sass/sass-spec/pull/867.\r\n\r\nPending Tasks:\r\n\r\n- [x] CHANGELOG\r\n- [x] Reference Documentation.\r\n- [ ] Code Review\r\n- [ ] Iteration based on Code Review\r\n- [ ] Land Sass-spec & remove branch dependency (post merge)","created_at":"2016-05-18T01:27:29Z","updated_at":"2016-05-21T00:13:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6580a4122531492559c950b7c6dc0cc3e4528132","assignee":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sass/sass/milestones/10","html_url":"https://github.com/sass/sass/milestones/3.5","labels_url":"https://api.github.com/repos/sass/sass/milestones/10/labels","id":1640005,"number":10,"title":"3.5","description":null,"creator":{"login":"chriseppstein","id":1839,"avatar_url":"https://avatars.githubusercontent.com/u/1839?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseppstein","html_url":"https://github.com/chriseppstein","followers_url":"https://api.github.com/users/chriseppstein/followers","following_url":"https://api.github.com/users/chriseppstein/following{/other_user}","gists_url":"https://api.github.com/users/chriseppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseppstein/subscriptions","organizations_url":"https://api.github.com/users/chriseppstein/orgs","repos_url":"https://api.github.com/users/chriseppstein/repos","events_url":"https://api.github.com/users/chriseppstein/events{/privacy}","received_events_url":"https://api.github.com/users/chriseppstein/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":4,"state":"open","created_at":"2016-03-11T23:09:22Z","updated_at":"2016-05-20T21:52:38Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/sass/sass/pulls/2061/commits","review_comments_url":"https://api.github.com/repos/sass/sass/pulls/2061/comments","review_comment_url":"https://api.github.com/repos/sass/sass/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sass/sass/issues/2061/comments","statuses_url":"https://api.github.com/repos/sass/sass/statuses/8b3ff1f2ba312946adb99a0affe8bd0dc2a1e1ff","head":{"label":"sass:callables","ref":"callables","sha":"8b3ff1f2ba312946adb99a0affe8bd0dc2a1e1ff","user":{"login":"sass","id":317889,"avatar_url":"https://avatars.githubusercontent.com/u/317889?v=3","gravatar_id":"","url":"https://api.github.com/users/sass","html_url":"https://github.com/sass","followers_url":"https://api.github.com/users/sass/followers","following_url":"https://api.github.com/users/sass/following{/other_user}","gists_url":"https://api.github.com/users/sass/gists{/gist_id}","starred_url":"https://api.github.com/users/sass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sass/subscriptions","organizations_url":"https://api.github.com/users/sass/orgs","repos_url":"https://api.github.com/users/sass/repos","events_url":"https://api.github.com/users/sass/events{/privacy}","received_events_url":"https://api.github.com/users/sass/received_events","type":"Organization","site_admin":false},"repo":{"id":929845,"name":"sass","full_name":"sass/sass","owner":{"login":"sass","id":317889,"avatar_url":"https://avatars.githubusercontent.com/u/317889?v=3","gravatar_id":"","url":"https://api.github.com/users/sass","html_url":"https://github.com/sass","followers_url":"https://api.github.com/users/sass/followers","following_url":"https://api.github.com/users/sass/following{/other_user}","gists_url":"https://api.github.com/users/sass/gists{/gist_id}","starred_url":"https://api.github.com/users/sass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sass/subscriptions","organizations_url":"https://api.github.com/users/sass/orgs","repos_url":"https://api.github.com/users/sass/repos","events_url":"https://api.github.com/users/sass/events{/privacy}","received_events_url":"https://api.github.com/users/sass/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sass/sass","description":"Sass makes CSS fun again.","fork":false,"url":"https://api.github.com/repos/sass/sass","forks_url":"https://api.github.com/repos/sass/sass/forks","keys_url":"https://api.github.com/repos/sass/sass/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sass/sass/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sass/sass/teams","hooks_url":"https://api.github.com/repos/sass/sass/hooks","issue_events_url":"https://api.github.com/repos/sass/sass/issues/events{/number}","events_url":"https://api.github.com/repos/sass/sass/events","assignees_url":"https://api.github.com/repos/sass/sass/assignees{/user}","branches_url":"https://api.github.com/repos/sass/sass/branches{/branch}","tags_url":"https://api.github.com/repos/sass/sass/tags","blobs_url":"https://api.github.com/repos/sass/sass/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sass/sass/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sass/sass/git/refs{/sha}","trees_url":"https://api.github.com/repos/sass/sass/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sass/sass/statuses/{sha}","languages_url":"https://api.github.com/repos/sass/sass/languages","stargazers_url":"https://api.github.com/repos/sass/sass/stargazers","contributors_url":"https://api.github.com/repos/sass/sass/contributors","subscribers_url":"https://api.github.com/repos/sass/sass/subscribers","subscription_url":"https://api.github.com/repos/sass/sass/subscription","commits_url":"https://api.github.com/repos/sass/sass/commits{/sha}","git_commits_url":"https://api.github.com/repos/sass/sass/git/commits{/sha}","comments_url":"https://api.github.com/repos/sass/sass/comments{/number}","issue_comment_url":"https://api.github.com/repos/sass/sass/issues/comments{/number}","contents_url":"https://api.github.com/repos/sass/sass/contents/{+path}","compare_url":"https://api.github.com/repos/sass/sass/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sass/sass/merges","archive_url":"https://api.github.com/repos/sass/sass/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sass/sass/downloads","issues_url":"https://api.github.com/repos/sass/sass/issues{/number}","pulls_url":"https://api.github.com/repos/sass/sass/pulls{/number}","milestones_url":"https://api.github.com/repos/sass/sass/milestones{/number}","notifications_url":"https://api.github.com/repos/sass/sass/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sass/sass/labels{/name}","releases_url":"https://api.github.com/repos/sass/sass/releases{/id}","deployments_url":"https://api.github.com/repos/sass/sass/deployments","created_at":"2010-09-22T06:16:55Z","updated_at":"2016-05-20T22:27:35Z","pushed_at":"2016-05-20T22:22:10Z","git_url":"git://github.com/sass/sass.git","ssh_url":"git@github.com:sass/sass.git","clone_url":"https://github.com/sass/sass.git","svn_url":"https://github.com/sass/sass","homepage":"http://sass-lang.com","size":29638,"stargazers_count":8023,"watchers_count":8023,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1572,"mirror_url":null,"open_issues_count":165,"forks":1572,"open_issues":165,"watchers":8023,"default_branch":"stable"}},"base":{"label":"sass:next","ref":"next","sha":"f3a5c10c19a9070b29ad63a5c2ab962e95bf52e6","user":{"login":"sass","id":317889,"avatar_url":"https://avatars.githubusercontent.com/u/317889?v=3","gravatar_id":"","url":"https://api.github.com/users/sass","html_url":"https://github.com/sass","followers_url":"https://api.github.com/users/sass/followers","following_url":"https://api.github.com/users/sass/following{/other_user}","gists_url":"https://api.github.com/users/sass/gists{/gist_id}","starred_url":"https://api.github.com/users/sass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sass/subscriptions","organizations_url":"https://api.github.com/users/sass/orgs","repos_url":"https://api.github.com/users/sass/repos","events_url":"https://api.github.com/users/sass/events{/privacy}","received_events_url":"https://api.github.com/users/sass/received_events","type":"Organization","site_admin":false},"repo":{"id":929845,"name":"sass","full_name":"sass/sass","owner":{"login":"sass","id":317889,"avatar_url":"https://avatars.githubusercontent.com/u/317889?v=3","gravatar_id":"","url":"https://api.github.com/users/sass","html_url":"https://github.com/sass","followers_url":"https://api.github.com/users/sass/followers","following_url":"https://api.github.com/users/sass/following{/other_user}","gists_url":"https://api.github.com/users/sass/gists{/gist_id}","starred_url":"https://api.github.com/users/sass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sass/subscriptions","organizations_url":"https://api.github.com/users/sass/orgs","repos_url":"https://api.github.com/users/sass/repos","events_url":"https://api.github.com/users/sass/events{/privacy}","received_events_url":"https://api.github.com/users/sass/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sass/sass","description":"Sass makes CSS fun again.","fork":false,"url":"https://api.github.com/repos/sass/sass","forks_url":"https://api.github.com/repos/sass/sass/forks","keys_url":"https://api.github.com/repos/sass/sass/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sass/sass/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sass/sass/teams","hooks_url":"https://api.github.com/repos/sass/sass/hooks","issue_events_url":"https://api.github.com/repos/sass/sass/issues/events{/number}","events_url":"https://api.github.com/repos/sass/sass/events","assignees_url":"https://api.github.com/repos/sass/sass/assignees{/user}","branches_url":"https://api.github.com/repos/sass/sass/branches{/branch}","tags_url":"https://api.github.com/repos/sass/sass/tags","blobs_url":"https://api.github.com/repos/sass/sass/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sass/sass/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sass/sass/git/refs{/sha}","trees_url":"https://api.github.com/repos/sass/sass/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sass/sass/statuses/{sha}","languages_url":"https://api.github.com/repos/sass/sass/languages","stargazers_url":"https://api.github.com/repos/sass/sass/stargazers","contributors_url":"https://api.github.com/repos/sass/sass/contributors","subscribers_url":"https://api.github.com/repos/sass/sass/subscribers","subscription_url":"https://api.github.com/repos/sass/sass/subscription","commits_url":"https://api.github.com/repos/sass/sass/commits{/sha}","git_commits_url":"https://api.github.com/repos/sass/sass/git/commits{/sha}","comments_url":"https://api.github.com/repos/sass/sass/comments{/number}","issue_comment_url":"https://api.github.com/repos/sass/sass/issues/comments{/number}","contents_url":"https://api.github.com/repos/sass/sass/contents/{+path}","compare_url":"https://api.github.com/repos/sass/sass/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sass/sass/merges","archive_url":"https://api.github.com/repos/sass/sass/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sass/sass/downloads","issues_url":"https://api.github.com/repos/sass/sass/issues{/number}","pulls_url":"https://api.github.com/repos/sass/sass/pulls{/number}","milestones_url":"https://api.github.com/repos/sass/sass/milestones{/number}","notifications_url":"https://api.github.com/repos/sass/sass/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sass/sass/labels{/name}","releases_url":"https://api.github.com/repos/sass/sass/releases{/id}","deployments_url":"https://api.github.com/repos/sass/sass/deployments","created_at":"2010-09-22T06:16:55Z","updated_at":"2016-05-20T22:27:35Z","pushed_at":"2016-05-20T22:22:10Z","git_url":"git://github.com/sass/sass.git","ssh_url":"git@github.com:sass/sass.git","clone_url":"https://github.com/sass/sass.git","svn_url":"https://github.com/sass/sass","homepage":"http://sass-lang.com","size":29638,"stargazers_count":8023,"watchers_count":8023,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1572,"mirror_url":null,"open_issues_count":165,"forks":1572,"open_issues":165,"watchers":8023,"default_branch":"stable"}},"_links":{"self":{"href":"https://api.github.com/repos/sass/sass/pulls/2061"},"html":{"href":"https://github.com/sass/sass/pull/2061"},"issue":{"href":"https://api.github.com/repos/sass/sass/issues/2061"},"comments":{"href":"https://api.github.com/repos/sass/sass/issues/2061/comments"},"review_comments":{"href":"https://api.github.com/repos/sass/sass/pulls/2061/comments"},"review_comment":{"href":"https://api.github.com/repos/sass/sass/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sass/sass/pulls/2061/commits"},"statuses":{"href":"https://api.github.com/repos/sass/sass/statuses/8b3ff1f2ba312946adb99a0affe8bd0dc2a1e1ff"}}}}
{"actor":{"display_login":"nex3"}}