{"action":"opened","number":256,"pull_request":{"url":"https://api.github.com/repos/fsprojects/Fable/pulls/256","id":77293233,"html_url":"https://github.com/fsprojects/Fable/pull/256","diff_url":"https://github.com/fsprojects/Fable/pull/256.diff","patch_url":"https://github.com/fsprojects/Fable/pull/256.patch","issue_url":"https://api.github.com/repos/fsprojects/Fable/issues/256","number":256,"state":"open","locked":false,"title":"Add withInit function to allow bootstrapping app on load","user":{"login":"devcrafting","id":2463699,"avatar_url":"https://avatars.githubusercontent.com/u/2463699?v=3","gravatar_id":"","url":"https://api.github.com/users/devcrafting","html_url":"https://github.com/devcrafting","followers_url":"https://api.github.com/users/devcrafting/followers","following_url":"https://api.github.com/users/devcrafting/following{/other_user}","gists_url":"https://api.github.com/users/devcrafting/gists{/gist_id}","starred_url":"https://api.github.com/users/devcrafting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devcrafting/subscriptions","organizations_url":"https://api.github.com/users/devcrafting/orgs","repos_url":"https://api.github.com/users/devcrafting/repos","events_url":"https://api.github.com/users/devcrafting/events{/privacy}","received_events_url":"https://api.github.com/users/devcrafting/received_events","type":"User","site_admin":false},"body":"It is similar to what can be done with ELM: http://guide.elm-lang.org/architecture/effects/\r\nIn ELM, basically, you use App.beginnerProgram that take only a Model (as Fable virtualdom for now), but to add \"effects\", you use App.program that take an init (Model, Cmd Msg) tuple (ELM example: http://elm-lang.org/examples/http).\r\n\r\nI thought it would be better integrated with a \"withInit\" function applied on App type in Fable virtualdom implementation.","created_at":"2016-07-13T13:56:51Z","updated_at":"2016-07-13T13:56:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fsprojects/Fable/pulls/256/commits","review_comments_url":"https://api.github.com/repos/fsprojects/Fable/pulls/256/comments","review_comment_url":"https://api.github.com/repos/fsprojects/Fable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsprojects/Fable/issues/256/comments","statuses_url":"https://api.github.com/repos/fsprojects/Fable/statuses/b4a804af13a8dd275ca2fa14cfa43112cf4195dd","head":{"label":"devcrafting:master","ref":"master","sha":"b4a804af13a8dd275ca2fa14cfa43112cf4195dd","user":{"login":"devcrafting","id":2463699,"avatar_url":"https://avatars.githubusercontent.com/u/2463699?v=3","gravatar_id":"","url":"https://api.github.com/users/devcrafting","html_url":"https://github.com/devcrafting","followers_url":"https://api.github.com/users/devcrafting/followers","following_url":"https://api.github.com/users/devcrafting/following{/other_user}","gists_url":"https://api.github.com/users/devcrafting/gists{/gist_id}","starred_url":"https://api.github.com/users/devcrafting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devcrafting/subscriptions","organizations_url":"https://api.github.com/users/devcrafting/orgs","repos_url":"https://api.github.com/users/devcrafting/repos","events_url":"https://api.github.com/users/devcrafting/events{/privacy}","received_events_url":"https://api.github.com/users/devcrafting/received_events","type":"User","site_admin":false},"repo":{"id":63231538,"name":"Fable","full_name":"devcrafting/Fable","owner":{"login":"devcrafting","id":2463699,"avatar_url":"https://avatars.githubusercontent.com/u/2463699?v=3","gravatar_id":"","url":"https://api.github.com/users/devcrafting","html_url":"https://github.com/devcrafting","followers_url":"https://api.github.com/users/devcrafting/followers","following_url":"https://api.github.com/users/devcrafting/following{/other_user}","gists_url":"https://api.github.com/users/devcrafting/gists{/gist_id}","starred_url":"https://api.github.com/users/devcrafting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devcrafting/subscriptions","organizations_url":"https://api.github.com/users/devcrafting/orgs","repos_url":"https://api.github.com/users/devcrafting/repos","events_url":"https://api.github.com/users/devcrafting/events{/privacy}","received_events_url":"https://api.github.com/users/devcrafting/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devcrafting/Fable","description":"F# to JavaScript Compiler","fork":true,"url":"https://api.github.com/repos/devcrafting/Fable","forks_url":"https://api.github.com/repos/devcrafting/Fable/forks","keys_url":"https://api.github.com/repos/devcrafting/Fable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devcrafting/Fable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devcrafting/Fable/teams","hooks_url":"https://api.github.com/repos/devcrafting/Fable/hooks","issue_events_url":"https://api.github.com/repos/devcrafting/Fable/issues/events{/number}","events_url":"https://api.github.com/repos/devcrafting/Fable/events","assignees_url":"https://api.github.com/repos/devcrafting/Fable/assignees{/user}","branches_url":"https://api.github.com/repos/devcrafting/Fable/branches{/branch}","tags_url":"https://api.github.com/repos/devcrafting/Fable/tags","blobs_url":"https://api.github.com/repos/devcrafting/Fable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devcrafting/Fable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devcrafting/Fable/git/refs{/sha}","trees_url":"https://api.github.com/repos/devcrafting/Fable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devcrafting/Fable/statuses/{sha}","languages_url":"https://api.github.com/repos/devcrafting/Fable/languages","stargazers_url":"https://api.github.com/repos/devcrafting/Fable/stargazers","contributors_url":"https://api.github.com/repos/devcrafting/Fable/contributors","subscribers_url":"https://api.github.com/repos/devcrafting/Fable/subscribers","subscription_url":"https://api.github.com/repos/devcrafting/Fable/subscription","commits_url":"https://api.github.com/repos/devcrafting/Fable/commits{/sha}","git_commits_url":"https://api.github.com/repos/devcrafting/Fable/git/commits{/sha}","comments_url":"https://api.github.com/repos/devcrafting/Fable/comments{/number}","issue_comment_url":"https://api.github.com/repos/devcrafting/Fable/issues/comments{/number}","contents_url":"https://api.github.com/repos/devcrafting/Fable/contents/{+path}","compare_url":"https://api.github.com/repos/devcrafting/Fable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devcrafting/Fable/merges","archive_url":"https://api.github.com/repos/devcrafting/Fable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devcrafting/Fable/downloads","issues_url":"https://api.github.com/repos/devcrafting/Fable/issues{/number}","pulls_url":"https://api.github.com/repos/devcrafting/Fable/pulls{/number}","milestones_url":"https://api.github.com/repos/devcrafting/Fable/milestones{/number}","notifications_url":"https://api.github.com/repos/devcrafting/Fable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devcrafting/Fable/labels{/name}","releases_url":"https://api.github.com/repos/devcrafting/Fable/releases{/id}","deployments_url":"https://api.github.com/repos/devcrafting/Fable/deployments","created_at":"2016-07-13T09:06:15Z","updated_at":"2016-07-13T09:06:17Z","pushed_at":"2016-07-13T09:12:34Z","git_url":"git://github.com/devcrafting/Fable.git","ssh_url":"git@github.com:devcrafting/Fable.git","clone_url":"https://github.com/devcrafting/Fable.git","svn_url":"https://github.com/devcrafting/Fable","homepage":"http://fsprojects.github.io/Fable/","size":19027,"stargazers_count":0,"watchers_count":0,"language":"F#","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":"fsprojects:master","ref":"master","sha":"9f6476be2a91b7f10475ede3c567b8aaa332bff2","user":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":49417923,"name":"Fable","full_name":"fsprojects/Fable","owner":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsprojects/Fable","description":"F# to JavaScript Compiler","fork":false,"url":"https://api.github.com/repos/fsprojects/Fable","forks_url":"https://api.github.com/repos/fsprojects/Fable/forks","keys_url":"https://api.github.com/repos/fsprojects/Fable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsprojects/Fable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsprojects/Fable/teams","hooks_url":"https://api.github.com/repos/fsprojects/Fable/hooks","issue_events_url":"https://api.github.com/repos/fsprojects/Fable/issues/events{/number}","events_url":"https://api.github.com/repos/fsprojects/Fable/events","assignees_url":"https://api.github.com/repos/fsprojects/Fable/assignees{/user}","branches_url":"https://api.github.com/repos/fsprojects/Fable/branches{/branch}","tags_url":"https://api.github.com/repos/fsprojects/Fable/tags","blobs_url":"https://api.github.com/repos/fsprojects/Fable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsprojects/Fable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsprojects/Fable/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsprojects/Fable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsprojects/Fable/statuses/{sha}","languages_url":"https://api.github.com/repos/fsprojects/Fable/languages","stargazers_url":"https://api.github.com/repos/fsprojects/Fable/stargazers","contributors_url":"https://api.github.com/repos/fsprojects/Fable/contributors","subscribers_url":"https://api.github.com/repos/fsprojects/Fable/subscribers","subscription_url":"https://api.github.com/repos/fsprojects/Fable/subscription","commits_url":"https://api.github.com/repos/fsprojects/Fable/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsprojects/Fable/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsprojects/Fable/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsprojects/Fable/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsprojects/Fable/contents/{+path}","compare_url":"https://api.github.com/repos/fsprojects/Fable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsprojects/Fable/merges","archive_url":"https://api.github.com/repos/fsprojects/Fable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsprojects/Fable/downloads","issues_url":"https://api.github.com/repos/fsprojects/Fable/issues{/number}","pulls_url":"https://api.github.com/repos/fsprojects/Fable/pulls{/number}","milestones_url":"https://api.github.com/repos/fsprojects/Fable/milestones{/number}","notifications_url":"https://api.github.com/repos/fsprojects/Fable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsprojects/Fable/labels{/name}","releases_url":"https://api.github.com/repos/fsprojects/Fable/releases{/id}","deployments_url":"https://api.github.com/repos/fsprojects/Fable/deployments","created_at":"2016-01-11T10:10:13Z","updated_at":"2016-07-13T12:41:23Z","pushed_at":"2016-07-13T00:33:50Z","git_url":"git://github.com/fsprojects/Fable.git","ssh_url":"git@github.com:fsprojects/Fable.git","clone_url":"https://github.com/fsprojects/Fable.git","svn_url":"https://github.com/fsprojects/Fable","homepage":"http://fsprojects.github.io/Fable/","size":20130,"stargazers_count":367,"watchers_count":367,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":44,"mirror_url":null,"open_issues_count":23,"forks":44,"open_issues":23,"watchers":367,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/256"},"html":{"href":"https://github.com/fsprojects/Fable/pull/256"},"issue":{"href":"https://api.github.com/repos/fsprojects/Fable/issues/256"},"comments":{"href":"https://api.github.com/repos/fsprojects/Fable/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/fsprojects/Fable/statuses/b4a804af13a8dd275ca2fa14cfa43112cf4195dd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"devcrafting"}}