{"action":"opened","number":215,"pull_request":{"url":"https://api.github.com/repos/ocsigen/eliom/pulls/215","id":52383769,"html_url":"https://github.com/ocsigen/eliom/pull/215","diff_url":"https://github.com/ocsigen/eliom/pull/215.diff","patch_url":"https://github.com/ocsigen/eliom/pull/215.patch","issue_url":"https://api.github.com/repos/ocsigen/eliom/issues/215","number":215,"state":"open","locked":false,"title":"Improved Form APIs","user":{"login":"vasilisp","id":4950946,"avatar_url":"https://avatars.githubusercontent.com/u/4950946?v=3","gravatar_id":"","url":"https://api.github.com/users/vasilisp","html_url":"https://github.com/vasilisp","followers_url":"https://api.github.com/users/vasilisp/followers","following_url":"https://api.github.com/users/vasilisp/following{/other_user}","gists_url":"https://api.github.com/users/vasilisp/gists{/gist_id}","starred_url":"https://api.github.com/users/vasilisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasilisp/subscriptions","organizations_url":"https://api.github.com/users/vasilisp/orgs","repos_url":"https://api.github.com/users/vasilisp/repos","events_url":"https://api.github.com/users/vasilisp/events{/privacy}","received_events_url":"https://api.github.com/users/vasilisp/received_events","type":"User","site_admin":false},"body":"This PR re-structures our form APIs. This is a breaking change.\r\n\r\nThe form APIs are now available under `Eliom_content.Html5.{D,F}.Form`. `a` and related functions have not moved.\r\n\r\nThe functions `${t}_${formtype}` (e.g., `int_input`) have been replaced by `${formtype}` functions with an additional \"GADT\" argument denoting the type. Internally, this is implemented with `Eliom_parameter_base.atom`. The conversion is almost mechanical; see ocsigen/eliom-base-app@ae247f1d2a210bef5d4b85cb2e6b5c62596f62a6.\r\n\r\nThe `user_type_*` functions have gone away. I don't think they are used all that much, and we probably need to re-implement them in a safe fashion anyway.\r\n\r\n`Eliom_form` has been simplified internally and merged with `Eliom_mkforms`.","created_at":"2015-12-02T11:28:38Z","updated_at":"2015-12-02T11:28:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ocsigen/eliom/pulls/215/commits","review_comments_url":"https://api.github.com/repos/ocsigen/eliom/pulls/215/comments","review_comment_url":"https://api.github.com/repos/ocsigen/eliom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocsigen/eliom/issues/215/comments","statuses_url":"https://api.github.com/repos/ocsigen/eliom/statuses/dd191c1dae9b7eff0c15c2c0636cd99f03a73a3e","head":{"label":"ocsigen:gadt-forms","ref":"gadt-forms","sha":"dd191c1dae9b7eff0c15c2c0636cd99f03a73a3e","user":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"repo":{"id":11751879,"name":"eliom","full_name":"ocsigen/eliom","owner":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocsigen/eliom","description":"Framework for programming web and mobile applications in OCaml.","fork":false,"url":"https://api.github.com/repos/ocsigen/eliom","forks_url":"https://api.github.com/repos/ocsigen/eliom/forks","keys_url":"https://api.github.com/repos/ocsigen/eliom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocsigen/eliom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocsigen/eliom/teams","hooks_url":"https://api.github.com/repos/ocsigen/eliom/hooks","issue_events_url":"https://api.github.com/repos/ocsigen/eliom/issues/events{/number}","events_url":"https://api.github.com/repos/ocsigen/eliom/events","assignees_url":"https://api.github.com/repos/ocsigen/eliom/assignees{/user}","branches_url":"https://api.github.com/repos/ocsigen/eliom/branches{/branch}","tags_url":"https://api.github.com/repos/ocsigen/eliom/tags","blobs_url":"https://api.github.com/repos/ocsigen/eliom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocsigen/eliom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocsigen/eliom/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocsigen/eliom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocsigen/eliom/statuses/{sha}","languages_url":"https://api.github.com/repos/ocsigen/eliom/languages","stargazers_url":"https://api.github.com/repos/ocsigen/eliom/stargazers","contributors_url":"https://api.github.com/repos/ocsigen/eliom/contributors","subscribers_url":"https://api.github.com/repos/ocsigen/eliom/subscribers","subscription_url":"https://api.github.com/repos/ocsigen/eliom/subscription","commits_url":"https://api.github.com/repos/ocsigen/eliom/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocsigen/eliom/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocsigen/eliom/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocsigen/eliom/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocsigen/eliom/contents/{+path}","compare_url":"https://api.github.com/repos/ocsigen/eliom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocsigen/eliom/merges","archive_url":"https://api.github.com/repos/ocsigen/eliom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocsigen/eliom/downloads","issues_url":"https://api.github.com/repos/ocsigen/eliom/issues{/number}","pulls_url":"https://api.github.com/repos/ocsigen/eliom/pulls{/number}","milestones_url":"https://api.github.com/repos/ocsigen/eliom/milestones{/number}","notifications_url":"https://api.github.com/repos/ocsigen/eliom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocsigen/eliom/labels{/name}","releases_url":"https://api.github.com/repos/ocsigen/eliom/releases{/id}","created_at":"2013-07-29T23:15:46Z","updated_at":"2015-11-04T18:00:39Z","pushed_at":"2015-12-01T23:25:07Z","git_url":"git://github.com/ocsigen/eliom.git","ssh_url":"git@github.com:ocsigen/eliom.git","clone_url":"https://github.com/ocsigen/eliom.git","svn_url":"https://github.com/ocsigen/eliom","homepage":"http://eliom.org","size":27580,"stargazers_count":62,"watchers_count":62,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":45,"forks":30,"open_issues":45,"watchers":62,"default_branch":"master"}},"base":{"label":"ocsigen:master","ref":"master","sha":"5bd17a7ff8b3bfcd655e3ce85b4b952452562bc9","user":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"repo":{"id":11751879,"name":"eliom","full_name":"ocsigen/eliom","owner":{"login":"ocsigen","id":4729424,"avatar_url":"https://avatars.githubusercontent.com/u/4729424?v=3","gravatar_id":"","url":"https://api.github.com/users/ocsigen","html_url":"https://github.com/ocsigen","followers_url":"https://api.github.com/users/ocsigen/followers","following_url":"https://api.github.com/users/ocsigen/following{/other_user}","gists_url":"https://api.github.com/users/ocsigen/gists{/gist_id}","starred_url":"https://api.github.com/users/ocsigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocsigen/subscriptions","organizations_url":"https://api.github.com/users/ocsigen/orgs","repos_url":"https://api.github.com/users/ocsigen/repos","events_url":"https://api.github.com/users/ocsigen/events{/privacy}","received_events_url":"https://api.github.com/users/ocsigen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocsigen/eliom","description":"Framework for programming web and mobile applications in OCaml.","fork":false,"url":"https://api.github.com/repos/ocsigen/eliom","forks_url":"https://api.github.com/repos/ocsigen/eliom/forks","keys_url":"https://api.github.com/repos/ocsigen/eliom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocsigen/eliom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocsigen/eliom/teams","hooks_url":"https://api.github.com/repos/ocsigen/eliom/hooks","issue_events_url":"https://api.github.com/repos/ocsigen/eliom/issues/events{/number}","events_url":"https://api.github.com/repos/ocsigen/eliom/events","assignees_url":"https://api.github.com/repos/ocsigen/eliom/assignees{/user}","branches_url":"https://api.github.com/repos/ocsigen/eliom/branches{/branch}","tags_url":"https://api.github.com/repos/ocsigen/eliom/tags","blobs_url":"https://api.github.com/repos/ocsigen/eliom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocsigen/eliom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocsigen/eliom/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocsigen/eliom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocsigen/eliom/statuses/{sha}","languages_url":"https://api.github.com/repos/ocsigen/eliom/languages","stargazers_url":"https://api.github.com/repos/ocsigen/eliom/stargazers","contributors_url":"https://api.github.com/repos/ocsigen/eliom/contributors","subscribers_url":"https://api.github.com/repos/ocsigen/eliom/subscribers","subscription_url":"https://api.github.com/repos/ocsigen/eliom/subscription","commits_url":"https://api.github.com/repos/ocsigen/eliom/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocsigen/eliom/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocsigen/eliom/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocsigen/eliom/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocsigen/eliom/contents/{+path}","compare_url":"https://api.github.com/repos/ocsigen/eliom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocsigen/eliom/merges","archive_url":"https://api.github.com/repos/ocsigen/eliom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocsigen/eliom/downloads","issues_url":"https://api.github.com/repos/ocsigen/eliom/issues{/number}","pulls_url":"https://api.github.com/repos/ocsigen/eliom/pulls{/number}","milestones_url":"https://api.github.com/repos/ocsigen/eliom/milestones{/number}","notifications_url":"https://api.github.com/repos/ocsigen/eliom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocsigen/eliom/labels{/name}","releases_url":"https://api.github.com/repos/ocsigen/eliom/releases{/id}","created_at":"2013-07-29T23:15:46Z","updated_at":"2015-11-04T18:00:39Z","pushed_at":"2015-12-01T23:25:07Z","git_url":"git://github.com/ocsigen/eliom.git","ssh_url":"git@github.com:ocsigen/eliom.git","clone_url":"https://github.com/ocsigen/eliom.git","svn_url":"https://github.com/ocsigen/eliom","homepage":"http://eliom.org","size":27580,"stargazers_count":62,"watchers_count":62,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":45,"forks":30,"open_issues":45,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocsigen/eliom/pulls/215"},"html":{"href":"https://github.com/ocsigen/eliom/pull/215"},"issue":{"href":"https://api.github.com/repos/ocsigen/eliom/issues/215"},"comments":{"href":"https://api.github.com/repos/ocsigen/eliom/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/ocsigen/eliom/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/ocsigen/eliom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocsigen/eliom/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/ocsigen/eliom/statuses/dd191c1dae9b7eff0c15c2c0636cd99f03a73a3e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":11,"additions":615,"deletions":1529,"changed_files":16}}