{"action":"created","comment":{"url":"https://api.github.com/repos/gmalecha/template-coq/pulls/comments/91005664","pull_request_review_id":11517093,"id":91005664,"diff_hunk":"@@ -58,3 +58,80 @@ Make Definition two_from_syntax := (Ast.tApp (Ast.tConstruct (Ast.mkInd \"Coq.Ini\n Quote Recursively Definition plus_syntax := plus.\n \n Quote Recursively Definition mult_syntax := mult.\n+\n+Make Definition d''_from_syntax := ltac:(let t:= eval compute in d'' in exact t).\n+\n+\n+\n+\n+(** Reflecting  Inductives *)\n+\n+Require Import List.\n+Import ListNotations.\n+Require Import Template.Ast.\n+\n+Definition one_i : one_inductive_entry :=\n+{|\n+  mind_entry_typename := \"demoBool\";\n+  mind_entry_arity := tSort sSet;\n+  mind_entry_template := false;\n+  mind_entry_consnames := [\"demoTrue\"; \"demoFalse\"];\n+  mind_entry_lc := [tRel 1; tRel 1];\n+|}.\n+\n+Definition one_i2 : one_inductive_entry :=\n+{|\n+  mind_entry_typename := \"demoBool2\";\n+  mind_entry_arity := tSort sSet;\n+  mind_entry_template := false;\n+  mind_entry_consnames := [\"demoTrue2\"; \"demoFalse2\"];\n+  mind_entry_lc := [tRel 0; tRel 0];\n+|}.\n+\n+Definition mut_i : mutual_inductive_entry :=\n+{|\n+  mind_entry_record := None;\n+  mind_entry_finite := Finite;\n+  mind_entry_params := [];\n+  mind_entry_inds := [one_i; one_i2];\n+  mind_entry_polymorphic := false;\n+  mind_entry_private := None;\n+|}.\n+\n+(* Make Inductive ltac:(let t:= eval compute in mut_i in exact t). *)","path":"test-suite/demo.v","position":null,"original_position":44,"commit_id":"2fa5fdce978500d83987811f3cb7c728e374267e","original_commit_id":"bdc1171357e053b58221256b93cb9f8459e873af","user":{"login":"gmalecha","id":304471,"avatar_url":"https://avatars.githubusercontent.com/u/304471?v=3","gravatar_id":"","url":"https://api.github.com/users/gmalecha","html_url":"https://github.com/gmalecha","followers_url":"https://api.github.com/users/gmalecha/followers","following_url":"https://api.github.com/users/gmalecha/following{/other_user}","gists_url":"https://api.github.com/users/gmalecha/gists{/gist_id}","starred_url":"https://api.github.com/users/gmalecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmalecha/subscriptions","organizations_url":"https://api.github.com/users/gmalecha/orgs","repos_url":"https://api.github.com/users/gmalecha/repos","events_url":"https://api.github.com/users/gmalecha/events{/privacy}","received_events_url":"https://api.github.com/users/gmalecha/received_events","type":"User","site_admin":false},"body":"Can we make this perform reduction so that we don't need to use tactics in terms to make it work? I don't know precisely how to do this, but I'm certain that @mattam82 could tell us in a minute.","created_at":"2016-12-06T03:23:51Z","updated_at":"2016-12-06T03:30:19Z","html_url":"https://github.com/gmalecha/template-coq/pull/32#discussion_r91005664","pull_request_url":"https://api.github.com/repos/gmalecha/template-coq/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/gmalecha/template-coq/pulls/comments/91005664"},"html":{"href":"https://github.com/gmalecha/template-coq/pull/32#discussion_r91005664"},"pull_request":{"href":"https://api.github.com/repos/gmalecha/template-coq/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/gmalecha/template-coq/pulls/32","id":96195612,"html_url":"https://github.com/gmalecha/template-coq/pull/32","diff_url":"https://github.com/gmalecha/template-coq/pull/32.diff","patch_url":"https://github.com/gmalecha/template-coq/pull/32.patch","issue_url":"https://api.github.com/repos/gmalecha/template-coq/issues/32","number":32,"state":"open","locked":false,"title":"Added the ability to reflect Inductive definitions","user":{"login":"aa755","id":499314,"avatar_url":"https://avatars.githubusercontent.com/u/499314?v=3","gravatar_id":"","url":"https://api.github.com/users/aa755","html_url":"https://github.com/aa755","followers_url":"https://api.github.com/users/aa755/followers","following_url":"https://api.github.com/users/aa755/following{/other_user}","gists_url":"https://api.github.com/users/aa755/gists{/gist_id}","starred_url":"https://api.github.com/users/aa755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aa755/subscriptions","organizations_url":"https://api.github.com/users/aa755/orgs","repos_url":"https://api.github.com/users/aa755/repos","events_url":"https://api.github.com/users/aa755/events{/privacy}","received_events_url":"https://api.github.com/users/aa755/received_events","type":"User","site_admin":false},"body":"This is implemented as the command `Make Inductive`.\r\nSee demo.v for a demo.","created_at":"2016-12-01T23:54:53Z","updated_at":"2016-12-06T03:30:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccbde436bb967ee76c07c9388d2886c57f8614d0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gmalecha/template-coq/pulls/32/commits","review_comments_url":"https://api.github.com/repos/gmalecha/template-coq/pulls/32/comments","review_comment_url":"https://api.github.com/repos/gmalecha/template-coq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gmalecha/template-coq/issues/32/comments","statuses_url":"https://api.github.com/repos/gmalecha/template-coq/statuses/2fa5fdce978500d83987811f3cb7c728e374267e","head":{"label":"aa755:pr2","ref":"pr2","sha":"2fa5fdce978500d83987811f3cb7c728e374267e","user":{"login":"aa755","id":499314,"avatar_url":"https://avatars.githubusercontent.com/u/499314?v=3","gravatar_id":"","url":"https://api.github.com/users/aa755","html_url":"https://github.com/aa755","followers_url":"https://api.github.com/users/aa755/followers","following_url":"https://api.github.com/users/aa755/following{/other_user}","gists_url":"https://api.github.com/users/aa755/gists{/gist_id}","starred_url":"https://api.github.com/users/aa755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aa755/subscriptions","organizations_url":"https://api.github.com/users/aa755/orgs","repos_url":"https://api.github.com/users/aa755/repos","events_url":"https://api.github.com/users/aa755/events{/privacy}","received_events_url":"https://api.github.com/users/aa755/received_events","type":"User","site_admin":false},"repo":{"id":73656609,"name":"template-coq","full_name":"aa755/template-coq","owner":{"login":"aa755","id":499314,"avatar_url":"https://avatars.githubusercontent.com/u/499314?v=3","gravatar_id":"","url":"https://api.github.com/users/aa755","html_url":"https://github.com/aa755","followers_url":"https://api.github.com/users/aa755/followers","following_url":"https://api.github.com/users/aa755/following{/other_user}","gists_url":"https://api.github.com/users/aa755/gists{/gist_id}","starred_url":"https://api.github.com/users/aa755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aa755/subscriptions","organizations_url":"https://api.github.com/users/aa755/orgs","repos_url":"https://api.github.com/users/aa755/repos","events_url":"https://api.github.com/users/aa755/events{/privacy}","received_events_url":"https://api.github.com/users/aa755/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aa755/template-coq","description":"Reflection library for Coq","fork":true,"url":"https://api.github.com/repos/aa755/template-coq","forks_url":"https://api.github.com/repos/aa755/template-coq/forks","keys_url":"https://api.github.com/repos/aa755/template-coq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aa755/template-coq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aa755/template-coq/teams","hooks_url":"https://api.github.com/repos/aa755/template-coq/hooks","issue_events_url":"https://api.github.com/repos/aa755/template-coq/issues/events{/number}","events_url":"https://api.github.com/repos/aa755/template-coq/events","assignees_url":"https://api.github.com/repos/aa755/template-coq/assignees{/user}","branches_url":"https://api.github.com/repos/aa755/template-coq/branches{/branch}","tags_url":"https://api.github.com/repos/aa755/template-coq/tags","blobs_url":"https://api.github.com/repos/aa755/template-coq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aa755/template-coq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aa755/template-coq/git/refs{/sha}","trees_url":"https://api.github.com/repos/aa755/template-coq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aa755/template-coq/statuses/{sha}","languages_url":"https://api.github.com/repos/aa755/template-coq/languages","stargazers_url":"https://api.github.com/repos/aa755/template-coq/stargazers","contributors_url":"https://api.github.com/repos/aa755/template-coq/contributors","subscribers_url":"https://api.github.com/repos/aa755/template-coq/subscribers","subscription_url":"https://api.github.com/repos/aa755/template-coq/subscription","commits_url":"https://api.github.com/repos/aa755/template-coq/commits{/sha}","git_commits_url":"https://api.github.com/repos/aa755/template-coq/git/commits{/sha}","comments_url":"https://api.github.com/repos/aa755/template-coq/comments{/number}","issue_comment_url":"https://api.github.com/repos/aa755/template-coq/issues/comments{/number}","contents_url":"https://api.github.com/repos/aa755/template-coq/contents/{+path}","compare_url":"https://api.github.com/repos/aa755/template-coq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aa755/template-coq/merges","archive_url":"https://api.github.com/repos/aa755/template-coq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aa755/template-coq/downloads","issues_url":"https://api.github.com/repos/aa755/template-coq/issues{/number}","pulls_url":"https://api.github.com/repos/aa755/template-coq/pulls{/number}","milestones_url":"https://api.github.com/repos/aa755/template-coq/milestones{/number}","notifications_url":"https://api.github.com/repos/aa755/template-coq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aa755/template-coq/labels{/name}","releases_url":"https://api.github.com/repos/aa755/template-coq/releases{/id}","deployments_url":"https://api.github.com/repos/aa755/template-coq/deployments","created_at":"2016-11-14T01:47:12Z","updated_at":"2016-11-14T01:47:13Z","pushed_at":"2016-12-06T03:27:36Z","git_url":"git://github.com/aa755/template-coq.git","ssh_url":"git@github.com:aa755/template-coq.git","clone_url":"https://github.com/aa755/template-coq.git","svn_url":"https://github.com/aa755/template-coq","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"OCaml","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":"gmalecha:coq-8.5","ref":"coq-8.5","sha":"3eeca69ee51bee47737e890c60739c2520b0a933","user":{"login":"gmalecha","id":304471,"avatar_url":"https://avatars.githubusercontent.com/u/304471?v=3","gravatar_id":"","url":"https://api.github.com/users/gmalecha","html_url":"https://github.com/gmalecha","followers_url":"https://api.github.com/users/gmalecha/followers","following_url":"https://api.github.com/users/gmalecha/following{/other_user}","gists_url":"https://api.github.com/users/gmalecha/gists{/gist_id}","starred_url":"https://api.github.com/users/gmalecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmalecha/subscriptions","organizations_url":"https://api.github.com/users/gmalecha/orgs","repos_url":"https://api.github.com/users/gmalecha/repos","events_url":"https://api.github.com/users/gmalecha/events{/privacy}","received_events_url":"https://api.github.com/users/gmalecha/received_events","type":"User","site_admin":false},"repo":{"id":21667487,"name":"template-coq","full_name":"gmalecha/template-coq","owner":{"login":"gmalecha","id":304471,"avatar_url":"https://avatars.githubusercontent.com/u/304471?v=3","gravatar_id":"","url":"https://api.github.com/users/gmalecha","html_url":"https://github.com/gmalecha","followers_url":"https://api.github.com/users/gmalecha/followers","following_url":"https://api.github.com/users/gmalecha/following{/other_user}","gists_url":"https://api.github.com/users/gmalecha/gists{/gist_id}","starred_url":"https://api.github.com/users/gmalecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmalecha/subscriptions","organizations_url":"https://api.github.com/users/gmalecha/orgs","repos_url":"https://api.github.com/users/gmalecha/repos","events_url":"https://api.github.com/users/gmalecha/events{/privacy}","received_events_url":"https://api.github.com/users/gmalecha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmalecha/template-coq","description":"Reflection library for Coq","fork":false,"url":"https://api.github.com/repos/gmalecha/template-coq","forks_url":"https://api.github.com/repos/gmalecha/template-coq/forks","keys_url":"https://api.github.com/repos/gmalecha/template-coq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmalecha/template-coq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmalecha/template-coq/teams","hooks_url":"https://api.github.com/repos/gmalecha/template-coq/hooks","issue_events_url":"https://api.github.com/repos/gmalecha/template-coq/issues/events{/number}","events_url":"https://api.github.com/repos/gmalecha/template-coq/events","assignees_url":"https://api.github.com/repos/gmalecha/template-coq/assignees{/user}","branches_url":"https://api.github.com/repos/gmalecha/template-coq/branches{/branch}","tags_url":"https://api.github.com/repos/gmalecha/template-coq/tags","blobs_url":"https://api.github.com/repos/gmalecha/template-coq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmalecha/template-coq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmalecha/template-coq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmalecha/template-coq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmalecha/template-coq/statuses/{sha}","languages_url":"https://api.github.com/repos/gmalecha/template-coq/languages","stargazers_url":"https://api.github.com/repos/gmalecha/template-coq/stargazers","contributors_url":"https://api.github.com/repos/gmalecha/template-coq/contributors","subscribers_url":"https://api.github.com/repos/gmalecha/template-coq/subscribers","subscription_url":"https://api.github.com/repos/gmalecha/template-coq/subscription","commits_url":"https://api.github.com/repos/gmalecha/template-coq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmalecha/template-coq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmalecha/template-coq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmalecha/template-coq/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmalecha/template-coq/contents/{+path}","compare_url":"https://api.github.com/repos/gmalecha/template-coq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmalecha/template-coq/merges","archive_url":"https://api.github.com/repos/gmalecha/template-coq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmalecha/template-coq/downloads","issues_url":"https://api.github.com/repos/gmalecha/template-coq/issues{/number}","pulls_url":"https://api.github.com/repos/gmalecha/template-coq/pulls{/number}","milestones_url":"https://api.github.com/repos/gmalecha/template-coq/milestones{/number}","notifications_url":"https://api.github.com/repos/gmalecha/template-coq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmalecha/template-coq/labels{/name}","releases_url":"https://api.github.com/repos/gmalecha/template-coq/releases{/id}","deployments_url":"https://api.github.com/repos/gmalecha/template-coq/deployments","created_at":"2014-07-09T20:13:52Z","updated_at":"2016-06-29T17:31:00Z","pushed_at":"2016-12-06T03:27:36Z","git_url":"git://github.com/gmalecha/template-coq.git","ssh_url":"git@github.com:gmalecha/template-coq.git","clone_url":"https://github.com/gmalecha/template-coq.git","svn_url":"https://github.com/gmalecha/template-coq","homepage":null,"size":98,"stargazers_count":9,"watchers_count":9,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gmalecha/template-coq/pulls/32"},"html":{"href":"https://github.com/gmalecha/template-coq/pull/32"},"issue":{"href":"https://api.github.com/repos/gmalecha/template-coq/issues/32"},"comments":{"href":"https://api.github.com/repos/gmalecha/template-coq/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/gmalecha/template-coq/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/gmalecha/template-coq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gmalecha/template-coq/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/gmalecha/template-coq/statuses/2fa5fdce978500d83987811f3cb7c728e374267e"}}}}
{"actor":{"display_login":"gmalecha"}}