{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/tuareg/issues/7","labels_url":"https://api.github.com/repos/ocaml/tuareg/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/tuareg/issues/7/comments","events_url":"https://api.github.com/repos/ocaml/tuareg/issues/7/events","html_url":"https://github.com/ocaml/tuareg/issues/7","id":32766604,"number":7,"title":"Module return with signature indentation","user":{"login":"AeroNotix","id":975962,"avatar_url":"https://avatars.githubusercontent.com/u/975962?v=3","gravatar_id":"","url":"https://api.github.com/users/AeroNotix","html_url":"https://github.com/AeroNotix","followers_url":"https://api.github.com/users/AeroNotix/followers","following_url":"https://api.github.com/users/AeroNotix/following{/other_user}","gists_url":"https://api.github.com/users/AeroNotix/gists{/gist_id}","starred_url":"https://api.github.com/users/AeroNotix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AeroNotix/subscriptions","organizations_url":"https://api.github.com/users/AeroNotix/orgs","repos_url":"https://api.github.com/users/AeroNotix/repos","events_url":"https://api.github.com/users/AeroNotix/events{/privacy}","received_events_url":"https://api.github.com/users/AeroNotix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ocaml/tuareg/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-05-04T11:18:18Z","updated_at":"2015-01-23T22:13:28Z","closed_at":null,"body":"Consider the following:\r\n\r\n```Ocaml\r\nmodule Make_comp(C : Comparitor) : Comparitor_intf with type t := C.t =\r\n                                                                    struct\r\n                                                                      type t = C.t\r\n                                                                      let ret = C.comp\r\n                                                                    end\r\n```\r\n\r\nThe struct portion should not be indented all the way over there :)"},"comment":{"url":"https://api.github.com/repos/ocaml/tuareg/issues/comments/71275600","html_url":"https://github.com/ocaml/tuareg/issues/7#issuecomment-71275600","issue_url":"https://api.github.com/repos/ocaml/tuareg/issues/7","id":71275600,"user":{"login":"Chris00","id":1255665,"avatar_url":"https://avatars.githubusercontent.com/u/1255665?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris00","html_url":"https://github.com/Chris00","followers_url":"https://api.github.com/users/Chris00/followers","following_url":"https://api.github.com/users/Chris00/following{/other_user}","gists_url":"https://api.github.com/users/Chris00/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris00/subscriptions","organizations_url":"https://api.github.com/users/Chris00/orgs","repos_url":"https://api.github.com/users/Chris00/repos","events_url":"https://api.github.com/users/Chris00/events{/privacy}","received_events_url":"https://api.github.com/users/Chris00/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T22:13:28Z","updated_at":"2015-01-23T22:13:28Z","body":"The syntax of `with type` and `with module` is explained at http://caml.inria.fr/pub/docs/manual-ocaml/modtypes.html — the `=` can be `:=` (this is an [extension](http://caml.inria.fr/pub/docs/manual-ocaml/extn.html#sec234))."}}