{"action":"created","issue":{"url":"https://api.github.com/repos/FStarLang/FStar/issues/364","labels_url":"https://api.github.com/repos/FStarLang/FStar/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/FStarLang/FStar/issues/364/comments","events_url":"https://api.github.com/repos/FStarLang/FStar/issues/364/events","html_url":"https://github.com/FStarLang/FStar/issues/364","id":106592715,"number":364,"title":"Automatically find and include .fsi files, consistently","user":{"login":"msprotz","id":10673049,"avatar_url":"https://avatars.githubusercontent.com/u/10673049?v=3","gravatar_id":"","url":"https://api.github.com/users/msprotz","html_url":"https://github.com/msprotz","followers_url":"https://api.github.com/users/msprotz/followers","following_url":"https://api.github.com/users/msprotz/following{/other_user}","gists_url":"https://api.github.com/users/msprotz/gists{/gist_id}","starred_url":"https://api.github.com/users/msprotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msprotz/subscriptions","organizations_url":"https://api.github.com/users/msprotz/orgs","repos_url":"https://api.github.com/users/msprotz/repos","events_url":"https://api.github.com/users/msprotz/events{/privacy}","received_events_url":"https://api.github.com/users/msprotz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FStarLang/FStar/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-15T16:21:38Z","updated_at":"2015-09-15T17:00:37Z","closed_at":null,"body":"From fstarlang/fstar-mode.el#13:\r\n\r\n> I'd argue that it's great that F* found the fsi file automatically. OCaml also finds \".mli\" files in the include path (lib directory, current directory), and I would be awful if we had to specify the list of all the .mli files we need when type-checking an OCaml file. I'll file an issue against F*.\r\n\r\nSo I'd say that this issue is about:\r\n- making the behavior consistent between interactive and batch\r\n- making sure we don't need extra configuration or voodoo in both these cases, because finding fsi's automatically is great"},"comment":{"url":"https://api.github.com/repos/FStarLang/FStar/issues/comments/140462958","html_url":"https://github.com/FStarLang/FStar/issues/364#issuecomment-140462958","issue_url":"https://api.github.com/repos/FStarLang/FStar/issues/364","id":140462958,"user":{"login":"msprotz","id":10673049,"avatar_url":"https://avatars.githubusercontent.com/u/10673049?v=3","gravatar_id":"","url":"https://api.github.com/users/msprotz","html_url":"https://github.com/msprotz","followers_url":"https://api.github.com/users/msprotz/followers","following_url":"https://api.github.com/users/msprotz/following{/other_user}","gists_url":"https://api.github.com/users/msprotz/gists{/gist_id}","starred_url":"https://api.github.com/users/msprotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msprotz/subscriptions","organizations_url":"https://api.github.com/users/msprotz/orgs","repos_url":"https://api.github.com/users/msprotz/repos","events_url":"https://api.github.com/users/msprotz/events{/privacy}","received_events_url":"https://api.github.com/users/msprotz/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T17:00:37Z","updated_at":"2015-09-15T17:00:37Z","body":"Speaking of build system, we had custom rules for ocamlbuild, meaning that you could build a mixed project with ocaml/mezzo files, and ocamlbuild would take care of: making sure mz's match against mzi's, extracting mzi's to mli's, extracting mz's to ml's, and compiling everything altogether.\r\n\r\nSo as long as you have a good solution for your build system, the recipe above is, imho, pretty user-friendly."}}