{"action":"created","issue":{"url":"https://api.github.com/repos/liqd/aula/issues/163","repository_url":"https://api.github.com/repos/liqd/aula","labels_url":"https://api.github.com/repos/liqd/aula/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/liqd/aula/issues/163/comments","events_url":"https://api.github.com/repos/liqd/aula/issues/163/events","html_url":"https://github.com/liqd/aula/issues/163","id":138661791,"number":163,"title":"`garbitrary` does not support recursive ADTs.","user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-05T08:41:26Z","updated_at":"2016-03-05T15:44:42Z","closed_at":null,"body":"In #149, we introduced `Arbitrary` instances based on `garbitrary`.  However, documentation of `Generics.SOP.Arbitrary` in `basic-sop-0.2.0.0` says:\r\n\r\n```haskell\r\n-- Note that currently no attempts are being made to generate arbitrary\r\n-- values of a particular size, and it is possible that this function\r\n-- diverges for recursive structures.\r\n```\r\n\r\nWe worked around this in #161 by scaling down the size parameter everywhere until `RenderHtml` terminated again, at the cost of having empty values most of the time.\r\n\r\nA better solution would be a PR that handles recursive ADT properly, and revert the extra down-scaling."},"comment":{"url":"https://api.github.com/repos/liqd/aula/issues/comments/192675183","html_url":"https://github.com/liqd/aula/issues/163#issuecomment-192675183","issue_url":"https://api.github.com/repos/liqd/aula/issues/163","id":192675183,"user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T15:44:42Z","updated_at":"2016-03-05T15:44:42Z","body":"ah, good to know.  but wouldn't that still be an improvement over infinite values?\n"}}