{"action":"opened","number":50,"pull_request":{"url":"https://api.github.com/repos/justCxx/sicp/pulls/50","id":51044286,"html_url":"https://github.com/justCxx/sicp/pull/50","diff_url":"https://github.com/justCxx/sicp/pull/50.diff","patch_url":"https://github.com/justCxx/sicp/pull/50.patch","issue_url":"https://api.github.com/repos/justCxx/sicp/issues/50","number":50,"state":"open","locked":false,"title":"Add a solution of the exercise 1-37","user":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"body":"### Упражнение 1.37\r\nОпределите процедуру `cont-frac` так, чтобы вычисление `(cont-frac n d k)` давало значение k-элементной конечной цепной дроби. Проверьте свою процедуру, вычисляя приближения к `1/φ` с помощью:\r\n```clojure\r\n(cont-frac (fn [x] 1.0)\r\n           (fn [x] 1.0)\r\n           k)\r\n```\r\nдля последовательных значений k.\r\nНасколько большим пришлось сделать k, чтобы получить приближение, верное с точностью 4 цифры после запятой?\r\nЕсли Ваша процедура `cont-frac` порождает рекурсивный процесс, напишите вариант, который порождает итеративный процесс. Если она порождает итеративный процесс, напишите вариант, порождающий рекурсивный процесс.\r\n","created_at":"2015-11-18T05:29:51Z","updated_at":"2015-11-18T05:29:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/justCxx/sicp/milestones/1","html_url":"https://github.com/justCxx/sicp/milestones/Chapter%201","labels_url":"https://api.github.com/repos/justCxx/sicp/milestones/1/labels","id":1284375,"number":1,"title":"Chapter 1","description":"","creator":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":32,"state":"open","created_at":"2015-09-01T15:58:19Z","updated_at":"2015-11-18T05:29:51Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/justCxx/sicp/pulls/50/commits","review_comments_url":"https://api.github.com/repos/justCxx/sicp/pulls/50/comments","review_comment_url":"https://api.github.com/repos/justCxx/sicp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justCxx/sicp/issues/50/comments","statuses_url":"https://api.github.com/repos/justCxx/sicp/statuses/43d5dc5eddc67ffaf46d37ce00b439bfd3545626","head":{"label":"justCxx:exercise-1-37","ref":"exercise-1-37","sha":"43d5dc5eddc67ffaf46d37ce00b439bfd3545626","user":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"repo":{"id":41612911,"name":"sicp","full_name":"justCxx/sicp","owner":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justCxx/sicp","description":"SICP on Clojure","fork":false,"url":"https://api.github.com/repos/justCxx/sicp","forks_url":"https://api.github.com/repos/justCxx/sicp/forks","keys_url":"https://api.github.com/repos/justCxx/sicp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justCxx/sicp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justCxx/sicp/teams","hooks_url":"https://api.github.com/repos/justCxx/sicp/hooks","issue_events_url":"https://api.github.com/repos/justCxx/sicp/issues/events{/number}","events_url":"https://api.github.com/repos/justCxx/sicp/events","assignees_url":"https://api.github.com/repos/justCxx/sicp/assignees{/user}","branches_url":"https://api.github.com/repos/justCxx/sicp/branches{/branch}","tags_url":"https://api.github.com/repos/justCxx/sicp/tags","blobs_url":"https://api.github.com/repos/justCxx/sicp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justCxx/sicp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justCxx/sicp/git/refs{/sha}","trees_url":"https://api.github.com/repos/justCxx/sicp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justCxx/sicp/statuses/{sha}","languages_url":"https://api.github.com/repos/justCxx/sicp/languages","stargazers_url":"https://api.github.com/repos/justCxx/sicp/stargazers","contributors_url":"https://api.github.com/repos/justCxx/sicp/contributors","subscribers_url":"https://api.github.com/repos/justCxx/sicp/subscribers","subscription_url":"https://api.github.com/repos/justCxx/sicp/subscription","commits_url":"https://api.github.com/repos/justCxx/sicp/commits{/sha}","git_commits_url":"https://api.github.com/repos/justCxx/sicp/git/commits{/sha}","comments_url":"https://api.github.com/repos/justCxx/sicp/comments{/number}","issue_comment_url":"https://api.github.com/repos/justCxx/sicp/issues/comments{/number}","contents_url":"https://api.github.com/repos/justCxx/sicp/contents/{+path}","compare_url":"https://api.github.com/repos/justCxx/sicp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justCxx/sicp/merges","archive_url":"https://api.github.com/repos/justCxx/sicp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justCxx/sicp/downloads","issues_url":"https://api.github.com/repos/justCxx/sicp/issues{/number}","pulls_url":"https://api.github.com/repos/justCxx/sicp/pulls{/number}","milestones_url":"https://api.github.com/repos/justCxx/sicp/milestones{/number}","notifications_url":"https://api.github.com/repos/justCxx/sicp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justCxx/sicp/labels{/name}","releases_url":"https://api.github.com/repos/justCxx/sicp/releases{/id}","created_at":"2015-08-30T01:35:36Z","updated_at":"2015-11-13T13:41:25Z","pushed_at":"2015-11-17T18:57:23Z","git_url":"git://github.com/justCxx/sicp.git","ssh_url":"git@github.com:justCxx/sicp.git","clone_url":"https://github.com/justCxx/sicp.git","svn_url":"https://github.com/justCxx/sicp","homepage":"https://mitpress.mit.edu/sicp/","size":144,"stargazers_count":12,"watchers_count":12,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":12,"default_branch":"master"}},"base":{"label":"justCxx:master","ref":"master","sha":"9332df4cb5d17f62f1995cea2f134cc6ded55b2a","user":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"repo":{"id":41612911,"name":"sicp","full_name":"justCxx/sicp","owner":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justCxx/sicp","description":"SICP on Clojure","fork":false,"url":"https://api.github.com/repos/justCxx/sicp","forks_url":"https://api.github.com/repos/justCxx/sicp/forks","keys_url":"https://api.github.com/repos/justCxx/sicp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justCxx/sicp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justCxx/sicp/teams","hooks_url":"https://api.github.com/repos/justCxx/sicp/hooks","issue_events_url":"https://api.github.com/repos/justCxx/sicp/issues/events{/number}","events_url":"https://api.github.com/repos/justCxx/sicp/events","assignees_url":"https://api.github.com/repos/justCxx/sicp/assignees{/user}","branches_url":"https://api.github.com/repos/justCxx/sicp/branches{/branch}","tags_url":"https://api.github.com/repos/justCxx/sicp/tags","blobs_url":"https://api.github.com/repos/justCxx/sicp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justCxx/sicp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justCxx/sicp/git/refs{/sha}","trees_url":"https://api.github.com/repos/justCxx/sicp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justCxx/sicp/statuses/{sha}","languages_url":"https://api.github.com/repos/justCxx/sicp/languages","stargazers_url":"https://api.github.com/repos/justCxx/sicp/stargazers","contributors_url":"https://api.github.com/repos/justCxx/sicp/contributors","subscribers_url":"https://api.github.com/repos/justCxx/sicp/subscribers","subscription_url":"https://api.github.com/repos/justCxx/sicp/subscription","commits_url":"https://api.github.com/repos/justCxx/sicp/commits{/sha}","git_commits_url":"https://api.github.com/repos/justCxx/sicp/git/commits{/sha}","comments_url":"https://api.github.com/repos/justCxx/sicp/comments{/number}","issue_comment_url":"https://api.github.com/repos/justCxx/sicp/issues/comments{/number}","contents_url":"https://api.github.com/repos/justCxx/sicp/contents/{+path}","compare_url":"https://api.github.com/repos/justCxx/sicp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justCxx/sicp/merges","archive_url":"https://api.github.com/repos/justCxx/sicp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justCxx/sicp/downloads","issues_url":"https://api.github.com/repos/justCxx/sicp/issues{/number}","pulls_url":"https://api.github.com/repos/justCxx/sicp/pulls{/number}","milestones_url":"https://api.github.com/repos/justCxx/sicp/milestones{/number}","notifications_url":"https://api.github.com/repos/justCxx/sicp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justCxx/sicp/labels{/name}","releases_url":"https://api.github.com/repos/justCxx/sicp/releases{/id}","created_at":"2015-08-30T01:35:36Z","updated_at":"2015-11-13T13:41:25Z","pushed_at":"2015-11-17T18:57:23Z","git_url":"git://github.com/justCxx/sicp.git","ssh_url":"git@github.com:justCxx/sicp.git","clone_url":"https://github.com/justCxx/sicp.git","svn_url":"https://github.com/justCxx/sicp","homepage":"https://mitpress.mit.edu/sicp/","size":144,"stargazers_count":12,"watchers_count":12,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justCxx/sicp/pulls/50"},"html":{"href":"https://github.com/justCxx/sicp/pull/50"},"issue":{"href":"https://api.github.com/repos/justCxx/sicp/issues/50"},"comments":{"href":"https://api.github.com/repos/justCxx/sicp/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/justCxx/sicp/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/justCxx/sicp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justCxx/sicp/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/justCxx/sicp/statuses/43d5dc5eddc67ffaf46d37ce00b439bfd3545626"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":0,"changed_files":4}}