{"action":"created","issue":{"url":"https://api.github.com/repos/whitequark/ppx_deriving/issues/65","labels_url":"https://api.github.com/repos/whitequark/ppx_deriving/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/whitequark/ppx_deriving/issues/65/comments","events_url":"https://api.github.com/repos/whitequark/ppx_deriving/issues/65/events","html_url":"https://github.com/whitequark/ppx_deriving/issues/65","id":123365775,"number":65,"title":"Why does ppx_deriving.create always has a `unit` at the end?","user":{"login":"rgrinberg","id":139003,"avatar_url":"https://avatars.githubusercontent.com/u/139003?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrinberg","html_url":"https://github.com/rgrinberg","followers_url":"https://api.github.com/users/rgrinberg/followers","following_url":"https://api.github.com/users/rgrinberg/following{/other_user}","gists_url":"https://api.github.com/users/rgrinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrinberg/subscriptions","organizations_url":"https://api.github.com/users/rgrinberg/orgs","repos_url":"https://api.github.com/users/rgrinberg/repos","events_url":"https://api.github.com/users/rgrinberg/events{/privacy}","received_events_url":"https://api.github.com/users/rgrinberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T21:48:37Z","updated_at":"2015-12-21T23:50:36Z","closed_at":null,"body":"for example:\r\n\r\n```\r\ntype point = { x: float ; y: float } [@@deriving create]\r\n\r\nval create : x:float -> y:float -> unit -> point\r\n```\r\n\r\nI thought the `unit` is only necessary if any of the labels have a default value? (i.e. optional)."},"comment":{"url":"https://api.github.com/repos/whitequark/ppx_deriving/issues/comments/166461506","html_url":"https://github.com/whitequark/ppx_deriving/issues/65#issuecomment-166461506","issue_url":"https://api.github.com/repos/whitequark/ppx_deriving/issues/65","id":166461506,"user":{"login":"whitequark","id":54771,"avatar_url":"https://avatars.githubusercontent.com/u/54771?v=3","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T23:50:36Z","updated_at":"2015-12-21T23:50:36Z","body":"True, but I didn't implement that for reason that I am unable to remember. That would be a breaking change... worth it?"}}