{"action":"opened","number":44,"pull_request":{"url":"https://api.github.com/repos/mirage/functoria/pulls/44","id":52759519,"html_url":"https://github.com/mirage/functoria/pull/44","diff_url":"https://github.com/mirage/functoria/pull/44.diff","patch_url":"https://github.com/mirage/functoria/pull/44.patch","issue_url":"https://api.github.com/repos/mirage/functoria/issues/44","number":44,"state":"open","locked":false,"title":"Solve multi-connect issues","user":{"login":"Drup","id":801124,"avatar_url":"https://avatars.githubusercontent.com/u/801124?v=3","gravatar_id":"","url":"https://api.github.com/users/Drup","html_url":"https://github.com/Drup","followers_url":"https://api.github.com/users/Drup/followers","following_url":"https://api.github.com/users/Drup/following{/other_user}","gists_url":"https://api.github.com/users/Drup/gists{/gist_id}","starred_url":"https://api.github.com/users/Drup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drup/subscriptions","organizations_url":"https://api.github.com/users/Drup/orgs","repos_url":"https://api.github.com/users/Drup/repos","events_url":"https://api.github.com/users/Drup/events{/privacy}","received_events_url":"https://api.github.com/users/Drup/received_events","type":"User","site_admin":false},"body":"This is a proposal to solve https://github.com/mirage/mirage/issues/476 and all the other related issues.\nCurrently, functoria emits a unit-function to delay execution. This assumes referential transparency, which is completely wrong in the context of connect functions. Using lazy should solve the issue.\n@yomimono tested under xen and it seems to work.\n\nIt breaks https://github.com/mirage/mirage/pull/466\nI will try come up with a good idea on how to fix that, otherwise, there is an ugly fix [here](https://github.com/Drup/mirage/commit/5e92bef72a1a7672e95b15f4e9d1b800892ab7e1).\n\nI think this is a good solution, but there might be an Lwt-only solution that doesn't involve lazyness. Ideas ?","created_at":"2015-12-05T17:28:04Z","updated_at":"2015-12-05T17:28:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mirage/functoria/pulls/44/commits","review_comments_url":"https://api.github.com/repos/mirage/functoria/pulls/44/comments","review_comment_url":"https://api.github.com/repos/mirage/functoria/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mirage/functoria/issues/44/comments","statuses_url":"https://api.github.com/repos/mirage/functoria/statuses/c57367afdb6741382d6cd43f14b10e72611a0dbc","head":{"label":"Drup:lazy_main","ref":"lazy_main","sha":"c57367afdb6741382d6cd43f14b10e72611a0dbc","user":{"login":"Drup","id":801124,"avatar_url":"https://avatars.githubusercontent.com/u/801124?v=3","gravatar_id":"","url":"https://api.github.com/users/Drup","html_url":"https://github.com/Drup","followers_url":"https://api.github.com/users/Drup/followers","following_url":"https://api.github.com/users/Drup/following{/other_user}","gists_url":"https://api.github.com/users/Drup/gists{/gist_id}","starred_url":"https://api.github.com/users/Drup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drup/subscriptions","organizations_url":"https://api.github.com/users/Drup/orgs","repos_url":"https://api.github.com/users/Drup/repos","events_url":"https://api.github.com/users/Drup/events{/privacy}","received_events_url":"https://api.github.com/users/Drup/received_events","type":"User","site_admin":false},"repo":{"id":42598463,"name":"functoria","full_name":"Drup/functoria","owner":{"login":"Drup","id":801124,"avatar_url":"https://avatars.githubusercontent.com/u/801124?v=3","gravatar_id":"","url":"https://api.github.com/users/Drup","html_url":"https://github.com/Drup","followers_url":"https://api.github.com/users/Drup/followers","following_url":"https://api.github.com/users/Drup/following{/other_user}","gists_url":"https://api.github.com/users/Drup/gists{/gist_id}","starred_url":"https://api.github.com/users/Drup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drup/subscriptions","organizations_url":"https://api.github.com/users/Drup/orgs","repos_url":"https://api.github.com/users/Drup/repos","events_url":"https://api.github.com/users/Drup/events{/privacy}","received_events_url":"https://api.github.com/users/Drup/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Drup/functoria","description":"A DSL to invoke otherworldly functors","fork":true,"url":"https://api.github.com/repos/Drup/functoria","forks_url":"https://api.github.com/repos/Drup/functoria/forks","keys_url":"https://api.github.com/repos/Drup/functoria/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Drup/functoria/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Drup/functoria/teams","hooks_url":"https://api.github.com/repos/Drup/functoria/hooks","issue_events_url":"https://api.github.com/repos/Drup/functoria/issues/events{/number}","events_url":"https://api.github.com/repos/Drup/functoria/events","assignees_url":"https://api.github.com/repos/Drup/functoria/assignees{/user}","branches_url":"https://api.github.com/repos/Drup/functoria/branches{/branch}","tags_url":"https://api.github.com/repos/Drup/functoria/tags","blobs_url":"https://api.github.com/repos/Drup/functoria/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Drup/functoria/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Drup/functoria/git/refs{/sha}","trees_url":"https://api.github.com/repos/Drup/functoria/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Drup/functoria/statuses/{sha}","languages_url":"https://api.github.com/repos/Drup/functoria/languages","stargazers_url":"https://api.github.com/repos/Drup/functoria/stargazers","contributors_url":"https://api.github.com/repos/Drup/functoria/contributors","subscribers_url":"https://api.github.com/repos/Drup/functoria/subscribers","subscription_url":"https://api.github.com/repos/Drup/functoria/subscription","commits_url":"https://api.github.com/repos/Drup/functoria/commits{/sha}","git_commits_url":"https://api.github.com/repos/Drup/functoria/git/commits{/sha}","comments_url":"https://api.github.com/repos/Drup/functoria/comments{/number}","issue_comment_url":"https://api.github.com/repos/Drup/functoria/issues/comments{/number}","contents_url":"https://api.github.com/repos/Drup/functoria/contents/{+path}","compare_url":"https://api.github.com/repos/Drup/functoria/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Drup/functoria/merges","archive_url":"https://api.github.com/repos/Drup/functoria/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Drup/functoria/downloads","issues_url":"https://api.github.com/repos/Drup/functoria/issues{/number}","pulls_url":"https://api.github.com/repos/Drup/functoria/pulls{/number}","milestones_url":"https://api.github.com/repos/Drup/functoria/milestones{/number}","notifications_url":"https://api.github.com/repos/Drup/functoria/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Drup/functoria/labels{/name}","releases_url":"https://api.github.com/repos/Drup/functoria/releases{/id}","created_at":"2015-09-16T16:11:57Z","updated_at":"2015-09-17T12:43:21Z","pushed_at":"2015-12-04T21:52:31Z","git_url":"git://github.com/Drup/functoria.git","ssh_url":"git@github.com:Drup/functoria.git","clone_url":"https://github.com/Drup/functoria.git","svn_url":"https://github.com/Drup/functoria","homepage":"","size":403,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mirage:master","ref":"master","sha":"6ce01159c54fef3a333f0f0566fb6c30bd45a713","user":{"login":"mirage","id":131943,"avatar_url":"https://avatars.githubusercontent.com/u/131943?v=3","gravatar_id":"","url":"https://api.github.com/users/mirage","html_url":"https://github.com/mirage","followers_url":"https://api.github.com/users/mirage/followers","following_url":"https://api.github.com/users/mirage/following{/other_user}","gists_url":"https://api.github.com/users/mirage/gists{/gist_id}","starred_url":"https://api.github.com/users/mirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirage/subscriptions","organizations_url":"https://api.github.com/users/mirage/orgs","repos_url":"https://api.github.com/users/mirage/repos","events_url":"https://api.github.com/users/mirage/events{/privacy}","received_events_url":"https://api.github.com/users/mirage/received_events","type":"Organization","site_admin":false},"repo":{"id":39863931,"name":"functoria","full_name":"mirage/functoria","owner":{"login":"mirage","id":131943,"avatar_url":"https://avatars.githubusercontent.com/u/131943?v=3","gravatar_id":"","url":"https://api.github.com/users/mirage","html_url":"https://github.com/mirage","followers_url":"https://api.github.com/users/mirage/followers","following_url":"https://api.github.com/users/mirage/following{/other_user}","gists_url":"https://api.github.com/users/mirage/gists{/gist_id}","starred_url":"https://api.github.com/users/mirage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirage/subscriptions","organizations_url":"https://api.github.com/users/mirage/orgs","repos_url":"https://api.github.com/users/mirage/repos","events_url":"https://api.github.com/users/mirage/events{/privacy}","received_events_url":"https://api.github.com/users/mirage/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirage/functoria","description":"A DSL to invoke otherworldly functors","fork":false,"url":"https://api.github.com/repos/mirage/functoria","forks_url":"https://api.github.com/repos/mirage/functoria/forks","keys_url":"https://api.github.com/repos/mirage/functoria/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirage/functoria/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirage/functoria/teams","hooks_url":"https://api.github.com/repos/mirage/functoria/hooks","issue_events_url":"https://api.github.com/repos/mirage/functoria/issues/events{/number}","events_url":"https://api.github.com/repos/mirage/functoria/events","assignees_url":"https://api.github.com/repos/mirage/functoria/assignees{/user}","branches_url":"https://api.github.com/repos/mirage/functoria/branches{/branch}","tags_url":"https://api.github.com/repos/mirage/functoria/tags","blobs_url":"https://api.github.com/repos/mirage/functoria/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirage/functoria/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirage/functoria/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirage/functoria/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirage/functoria/statuses/{sha}","languages_url":"https://api.github.com/repos/mirage/functoria/languages","stargazers_url":"https://api.github.com/repos/mirage/functoria/stargazers","contributors_url":"https://api.github.com/repos/mirage/functoria/contributors","subscribers_url":"https://api.github.com/repos/mirage/functoria/subscribers","subscription_url":"https://api.github.com/repos/mirage/functoria/subscription","commits_url":"https://api.github.com/repos/mirage/functoria/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirage/functoria/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirage/functoria/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirage/functoria/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirage/functoria/contents/{+path}","compare_url":"https://api.github.com/repos/mirage/functoria/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirage/functoria/merges","archive_url":"https://api.github.com/repos/mirage/functoria/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirage/functoria/downloads","issues_url":"https://api.github.com/repos/mirage/functoria/issues{/number}","pulls_url":"https://api.github.com/repos/mirage/functoria/pulls{/number}","milestones_url":"https://api.github.com/repos/mirage/functoria/milestones{/number}","notifications_url":"https://api.github.com/repos/mirage/functoria/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirage/functoria/labels{/name}","releases_url":"https://api.github.com/repos/mirage/functoria/releases{/id}","created_at":"2015-07-29T00:07:58Z","updated_at":"2015-11-21T10:39:46Z","pushed_at":"2015-12-04T19:22:24Z","git_url":"git://github.com/mirage/functoria.git","ssh_url":"git@github.com:mirage/functoria.git","clone_url":"https://github.com/mirage/functoria.git","svn_url":"https://github.com/mirage/functoria","homepage":"","size":603,"stargazers_count":13,"watchers_count":13,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mirage/functoria/pulls/44"},"html":{"href":"https://github.com/mirage/functoria/pull/44"},"issue":{"href":"https://api.github.com/repos/mirage/functoria/issues/44"},"comments":{"href":"https://api.github.com/repos/mirage/functoria/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/mirage/functoria/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/mirage/functoria/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mirage/functoria/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/mirage/functoria/statuses/c57367afdb6741382d6cd43f14b10e72611a0dbc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":1}}