{"action":"created","issue":{"url":"https://api.github.com/repos/mvdan/hint/issues/6","repository_url":"https://api.github.com/repos/mvdan/hint","labels_url":"https://api.github.com/repos/mvdan/hint/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mvdan/hint/issues/6/comments","events_url":"https://api.github.com/repos/mvdan/hint/issues/6/events","html_url":"https://github.com/mvdan/hint/issues/6","id":153670066,"number":6,"title":"`doLoad` should be exposed","user":{"login":"TomMD","id":137806,"avatar_url":"https://avatars.githubusercontent.com/u/137806?v=3","gravatar_id":"","url":"https://api.github.com/users/TomMD","html_url":"https://github.com/TomMD","followers_url":"https://api.github.com/users/TomMD/followers","following_url":"https://api.github.com/users/TomMD/following{/other_user}","gists_url":"https://api.github.com/users/TomMD/gists{/gist_id}","starred_url":"https://api.github.com/users/TomMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomMD/subscriptions","organizations_url":"https://api.github.com/users/TomMD/orgs","repos_url":"https://api.github.com/users/TomMD/repos","events_url":"https://api.github.com/users/TomMD/events{/privacy}","received_events_url":"https://api.github.com/users/TomMD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-08T18:24:05Z","updated_at":"2016-05-22T14:44:32Z","closed_at":"2016-05-22T14:26:36Z","body":"The `loadModules` call always resets the GHC API, thus removing from scope any imports and extensions.  This behavior is undesirable for some use cases, so it would be nice to expose a non-resetting version of `loadModules` which currently exists as in the unexported `doLoad` function used by `loadModules`."},"comment":{"url":"https://api.github.com/repos/mvdan/hint/issues/comments/220836144","html_url":"https://github.com/mvdan/hint/issues/6#issuecomment-220836144","issue_url":"https://api.github.com/repos/mvdan/hint/issues/6","id":220836144,"user":{"login":"TomMD","id":137806,"avatar_url":"https://avatars.githubusercontent.com/u/137806?v=3","gravatar_id":"","url":"https://api.github.com/users/TomMD","html_url":"https://github.com/TomMD","followers_url":"https://api.github.com/users/TomMD/followers","following_url":"https://api.github.com/users/TomMD/following{/other_user}","gists_url":"https://api.github.com/users/TomMD/gists{/gist_id}","starred_url":"https://api.github.com/users/TomMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomMD/subscriptions","organizations_url":"https://api.github.com/users/TomMD/orgs","repos_url":"https://api.github.com/users/TomMD/repos","events_url":"https://api.github.com/users/TomMD/events{/privacy}","received_events_url":"https://api.github.com/users/TomMD/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T14:44:32Z","updated_at":"2016-05-22T14:44:32Z","body":"This is an unfortunate conclusion.  The advantage of being able to set language pragma and modules external to a loaded file makes hint more useful as a compiler for DSLs.   The user of the DSL doesn't need to know all of Haskell, including being ignorant of pragma and modules.  To support this user, hint provides a compilation routine including lexing, parsing, type checking, and clean error messages.  \r\n\r\nWithout this additional export from Hint I think I'm forced to create temporary files and append these strings.  Much more work will be needed to locate any user modules and keep them in the same relative paths."}}
{"actor":{"display_login":"TomMD"}}