{"action":"created","comment":{"url":"https://api.github.com/repos/oscoin/radicle/pulls/comments/235747916","pull_request_review_id":177685003,"id":235747916,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTc0NzkxNg==","diff_hunk":"@@ -119,15 +119,17 @@ main = do\n       ++ dicts ++ structs ++ refs ++ docs ++ io ++ lens ++ validation ++ crypto ++ chainTools\n       ++ issueChain ++ doNotInclude\n \n-    -- Function symbol followed by a hard line break, followed by it's doc.\n-    funs e fns = mconcat\n-      [ [ Header 3 nullAttr [Code nullAttr (toS f) ]\n-        , Para (inlinePandoc (getDoc e f)) ]\n-      | f <- fns ]\n+    valueDoc env name =\n+        case Map.lookup name env of\n+            Just (docString, Lambda args _ _) ->","path":"exe/ReferenceDoc.hs","position":40,"original_position":40,"commit_id":"06db11ab832e33dd5bd4660bed006255bc81bb37","original_commit_id":"06db11ab832e33dd5bd4660bed006255bc81bb37","user":{"login":"jkarni","id":1657498,"node_id":"MDQ6VXNlcjE2NTc0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/1657498?v=4","gravatar_id":"","url":"https://api.github.com/users/jkarni","html_url":"https://github.com/jkarni","followers_url":"https://api.github.com/users/jkarni/followers","following_url":"https://api.github.com/users/jkarni/following{/other_user}","gists_url":"https://api.github.com/users/jkarni/gists{/gist_id}","starred_url":"https://api.github.com/users/jkarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkarni/subscriptions","organizations_url":"https://api.github.com/users/jkarni/orgs","repos_url":"https://api.github.com/users/jkarni/repos","events_url":"https://api.github.com/users/jkarni/events{/privacy}","received_events_url":"https://api.github.com/users/jkarni/received_events","type":"User","site_admin":false},"body":"You're right - even better!","created_at":"2018-11-22T14:40:17Z","updated_at":"2018-11-22T14:40:17Z","html_url":"https://github.com/oscoin/radicle/pull/234#discussion_r235747916","pull_request_url":"https://api.github.com/repos/oscoin/radicle/pulls/234","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oscoin/radicle/pulls/comments/235747916"},"html":{"href":"https://github.com/oscoin/radicle/pull/234#discussion_r235747916"},"pull_request":{"href":"https://api.github.com/repos/oscoin/radicle/pulls/234"}},"in_reply_to_id":235743639},"pull_request":{"url":"https://api.github.com/repos/oscoin/radicle/pulls/234","id":232995999,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyOTk1OTk5","html_url":"https://github.com/oscoin/radicle/pull/234","diff_url":"https://github.com/oscoin/radicle/pull/234.diff","patch_url":"https://github.com/oscoin/radicle/pull/234.patch","issue_url":"https://api.github.com/repos/oscoin/radicle/issues/234","number":234,"state":"open","locked":false,"title":"Add callsignature with arg names to ref docs","user":{"login":"geigerzaehler","id":3919579,"node_id":"MDQ6VXNlcjM5MTk1Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/3919579?v=4","gravatar_id":"","url":"https://api.github.com/users/geigerzaehler","html_url":"https://github.com/geigerzaehler","followers_url":"https://api.github.com/users/geigerzaehler/followers","following_url":"https://api.github.com/users/geigerzaehler/following{/other_user}","gists_url":"https://api.github.com/users/geigerzaehler/gists{/gist_id}","starred_url":"https://api.github.com/users/geigerzaehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geigerzaehler/subscriptions","organizations_url":"https://api.github.com/users/geigerzaehler/orgs","repos_url":"https://api.github.com/users/geigerzaehler/repos","events_url":"https://api.github.com/users/geigerzaehler/events{/privacy}","received_events_url":"https://api.github.com/users/geigerzaehler/received_events","type":"User","site_admin":false},"body":"We now show how functions are called in the reference documentation. This also makes it possible to reference the variable names in the doc string.","created_at":"2018-11-22T14:23:07Z","updated_at":"2018-11-22T14:40:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b92b695348d03f1b663eae6360a9280e0469a98","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jameshaydon","id":692690,"node_id":"MDQ6VXNlcjY5MjY5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/692690?v=4","gravatar_id":"","url":"https://api.github.com/users/jameshaydon","html_url":"https://github.com/jameshaydon","followers_url":"https://api.github.com/users/jameshaydon/followers","following_url":"https://api.github.com/users/jameshaydon/following{/other_user}","gists_url":"https://api.github.com/users/jameshaydon/gists{/gist_id}","starred_url":"https://api.github.com/users/jameshaydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameshaydon/subscriptions","organizations_url":"https://api.github.com/users/jameshaydon/orgs","repos_url":"https://api.github.com/users/jameshaydon/repos","events_url":"https://api.github.com/users/jameshaydon/events{/privacy}","received_events_url":"https://api.github.com/users/jameshaydon/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oscoin/radicle/pulls/234/commits","review_comments_url":"https://api.github.com/repos/oscoin/radicle/pulls/234/comments","review_comment_url":"https://api.github.com/repos/oscoin/radicle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oscoin/radicle/issues/234/comments","statuses_url":"https://api.github.com/repos/oscoin/radicle/statuses/06db11ab832e33dd5bd4660bed006255bc81bb37","head":{"label":"oscoin:f/doc-call-signature","ref":"f/doc-call-signature","sha":"06db11ab832e33dd5bd4660bed006255bc81bb37","user":{"login":"oscoin","id":31632242,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjMyMjQy","avatar_url":"https://avatars0.githubusercontent.com/u/31632242?v=4","gravatar_id":"","url":"https://api.github.com/users/oscoin","html_url":"https://github.com/oscoin","followers_url":"https://api.github.com/users/oscoin/followers","following_url":"https://api.github.com/users/oscoin/following{/other_user}","gists_url":"https://api.github.com/users/oscoin/gists{/gist_id}","starred_url":"https://api.github.com/users/oscoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscoin/subscriptions","organizations_url":"https://api.github.com/users/oscoin/orgs","repos_url":"https://api.github.com/users/oscoin/repos","events_url":"https://api.github.com/users/oscoin/events{/privacy}","received_events_url":"https://api.github.com/users/oscoin/received_events","type":"Organization","site_admin":false},"repo":{"id":133785846,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM3ODU4NDY=","name":"radicle","full_name":"oscoin/radicle","private":false,"owner":{"login":"oscoin","id":31632242,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjMyMjQy","avatar_url":"https://avatars0.githubusercontent.com/u/31632242?v=4","gravatar_id":"","url":"https://api.github.com/users/oscoin","html_url":"https://github.com/oscoin","followers_url":"https://api.github.com/users/oscoin/followers","following_url":"https://api.github.com/users/oscoin/following{/other_user}","gists_url":"https://api.github.com/users/oscoin/gists{/gist_id}","starred_url":"https://api.github.com/users/oscoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscoin/subscriptions","organizations_url":"https://api.github.com/users/oscoin/orgs","repos_url":"https://api.github.com/users/oscoin/repos","events_url":"https://api.github.com/users/oscoin/events{/privacy}","received_events_url":"https://api.github.com/users/oscoin/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/oscoin/radicle","description":"A universal re-programmable state-machine","fork":false,"url":"https://api.github.com/repos/oscoin/radicle","forks_url":"https://api.github.com/repos/oscoin/radicle/forks","keys_url":"https://api.github.com/repos/oscoin/radicle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscoin/radicle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscoin/radicle/teams","hooks_url":"https://api.github.com/repos/oscoin/radicle/hooks","issue_events_url":"https://api.github.com/repos/oscoin/radicle/issues/events{/number}","events_url":"https://api.github.com/repos/oscoin/radicle/events","assignees_url":"https://api.github.com/repos/oscoin/radicle/assignees{/user}","branches_url":"https://api.github.com/repos/oscoin/radicle/branches{/branch}","tags_url":"https://api.github.com/repos/oscoin/radicle/tags","blobs_url":"https://api.github.com/repos/oscoin/radicle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscoin/radicle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscoin/radicle/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscoin/radicle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscoin/radicle/statuses/{sha}","languages_url":"https://api.github.com/repos/oscoin/radicle/languages","stargazers_url":"https://api.github.com/repos/oscoin/radicle/stargazers","contributors_url":"https://api.github.com/repos/oscoin/radicle/contributors","subscribers_url":"https://api.github.com/repos/oscoin/radicle/subscribers","subscription_url":"https://api.github.com/repos/oscoin/radicle/subscription","commits_url":"https://api.github.com/repos/oscoin/radicle/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscoin/radicle/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscoin/radicle/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscoin/radicle/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscoin/radicle/contents/{+path}","compare_url":"https://api.github.com/repos/oscoin/radicle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscoin/radicle/merges","archive_url":"https://api.github.com/repos/oscoin/radicle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscoin/radicle/downloads","issues_url":"https://api.github.com/repos/oscoin/radicle/issues{/number}","pulls_url":"https://api.github.com/repos/oscoin/radicle/pulls{/number}","milestones_url":"https://api.github.com/repos/oscoin/radicle/milestones{/number}","notifications_url":"https://api.github.com/repos/oscoin/radicle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscoin/radicle/labels{/name}","releases_url":"https://api.github.com/repos/oscoin/radicle/releases{/id}","deployments_url":"https://api.github.com/repos/oscoin/radicle/deployments","created_at":"2018-05-17T08:50:33Z","updated_at":"2018-11-20T20:02:42Z","pushed_at":"2018-11-22T14:38:11Z","git_url":"git://github.com/oscoin/radicle.git","ssh_url":"git@github.com:oscoin/radicle.git","clone_url":"https://github.com/oscoin/radicle.git","svn_url":"https://github.com/oscoin/radicle","homepage":"http://oscoin.io/radicle.html","size":586,"stargazers_count":80,"watchers_count":80,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":52,"watchers":80,"default_branch":"master"}},"base":{"label":"oscoin:master","ref":"master","sha":"52ce1d5b72d12fab2e643c1311116f270d0f160c","user":{"login":"oscoin","id":31632242,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjMyMjQy","avatar_url":"https://avatars0.githubusercontent.com/u/31632242?v=4","gravatar_id":"","url":"https://api.github.com/users/oscoin","html_url":"https://github.com/oscoin","followers_url":"https://api.github.com/users/oscoin/followers","following_url":"https://api.github.com/users/oscoin/following{/other_user}","gists_url":"https://api.github.com/users/oscoin/gists{/gist_id}","starred_url":"https://api.github.com/users/oscoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscoin/subscriptions","organizations_url":"https://api.github.com/users/oscoin/orgs","repos_url":"https://api.github.com/users/oscoin/repos","events_url":"https://api.github.com/users/oscoin/events{/privacy}","received_events_url":"https://api.github.com/users/oscoin/received_events","type":"Organization","site_admin":false},"repo":{"id":133785846,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM3ODU4NDY=","name":"radicle","full_name":"oscoin/radicle","private":false,"owner":{"login":"oscoin","id":31632242,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjMyMjQy","avatar_url":"https://avatars0.githubusercontent.com/u/31632242?v=4","gravatar_id":"","url":"https://api.github.com/users/oscoin","html_url":"https://github.com/oscoin","followers_url":"https://api.github.com/users/oscoin/followers","following_url":"https://api.github.com/users/oscoin/following{/other_user}","gists_url":"https://api.github.com/users/oscoin/gists{/gist_id}","starred_url":"https://api.github.com/users/oscoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscoin/subscriptions","organizations_url":"https://api.github.com/users/oscoin/orgs","repos_url":"https://api.github.com/users/oscoin/repos","events_url":"https://api.github.com/users/oscoin/events{/privacy}","received_events_url":"https://api.github.com/users/oscoin/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/oscoin/radicle","description":"A universal re-programmable state-machine","fork":false,"url":"https://api.github.com/repos/oscoin/radicle","forks_url":"https://api.github.com/repos/oscoin/radicle/forks","keys_url":"https://api.github.com/repos/oscoin/radicle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscoin/radicle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscoin/radicle/teams","hooks_url":"https://api.github.com/repos/oscoin/radicle/hooks","issue_events_url":"https://api.github.com/repos/oscoin/radicle/issues/events{/number}","events_url":"https://api.github.com/repos/oscoin/radicle/events","assignees_url":"https://api.github.com/repos/oscoin/radicle/assignees{/user}","branches_url":"https://api.github.com/repos/oscoin/radicle/branches{/branch}","tags_url":"https://api.github.com/repos/oscoin/radicle/tags","blobs_url":"https://api.github.com/repos/oscoin/radicle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscoin/radicle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscoin/radicle/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscoin/radicle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscoin/radicle/statuses/{sha}","languages_url":"https://api.github.com/repos/oscoin/radicle/languages","stargazers_url":"https://api.github.com/repos/oscoin/radicle/stargazers","contributors_url":"https://api.github.com/repos/oscoin/radicle/contributors","subscribers_url":"https://api.github.com/repos/oscoin/radicle/subscribers","subscription_url":"https://api.github.com/repos/oscoin/radicle/subscription","commits_url":"https://api.github.com/repos/oscoin/radicle/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscoin/radicle/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscoin/radicle/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscoin/radicle/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscoin/radicle/contents/{+path}","compare_url":"https://api.github.com/repos/oscoin/radicle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscoin/radicle/merges","archive_url":"https://api.github.com/repos/oscoin/radicle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscoin/radicle/downloads","issues_url":"https://api.github.com/repos/oscoin/radicle/issues{/number}","pulls_url":"https://api.github.com/repos/oscoin/radicle/pulls{/number}","milestones_url":"https://api.github.com/repos/oscoin/radicle/milestones{/number}","notifications_url":"https://api.github.com/repos/oscoin/radicle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscoin/radicle/labels{/name}","releases_url":"https://api.github.com/repos/oscoin/radicle/releases{/id}","deployments_url":"https://api.github.com/repos/oscoin/radicle/deployments","created_at":"2018-05-17T08:50:33Z","updated_at":"2018-11-20T20:02:42Z","pushed_at":"2018-11-22T14:38:11Z","git_url":"git://github.com/oscoin/radicle.git","ssh_url":"git@github.com:oscoin/radicle.git","clone_url":"https://github.com/oscoin/radicle.git","svn_url":"https://github.com/oscoin/radicle","homepage":"http://oscoin.io/radicle.html","size":586,"stargazers_count":80,"watchers_count":80,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":52,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oscoin/radicle/pulls/234"},"html":{"href":"https://github.com/oscoin/radicle/pull/234"},"issue":{"href":"https://api.github.com/repos/oscoin/radicle/issues/234"},"comments":{"href":"https://api.github.com/repos/oscoin/radicle/issues/234/comments"},"review_comments":{"href":"https://api.github.com/repos/oscoin/radicle/pulls/234/comments"},"review_comment":{"href":"https://api.github.com/repos/oscoin/radicle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oscoin/radicle/pulls/234/commits"},"statuses":{"href":"https://api.github.com/repos/oscoin/radicle/statuses/06db11ab832e33dd5bd4660bed006255bc81bb37"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jkarni"}}