{"action":"created","issue":{"url":"https://api.github.com/repos/bodil/pulp/issues/260","repository_url":"https://api.github.com/repos/bodil/pulp","labels_url":"https://api.github.com/repos/bodil/pulp/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/bodil/pulp/issues/260/comments","events_url":"https://api.github.com/repos/bodil/pulp/issues/260/events","html_url":"https://github.com/bodil/pulp/pull/260","id":213637594,"number":260,"title":"Initialize .purs-repl file.","user":{"login":"chexxor","id":843161,"avatar_url":"https://avatars2.githubusercontent.com/u/843161?v=3","gravatar_id":"","url":"https://api.github.com/users/chexxor","html_url":"https://github.com/chexxor","followers_url":"https://api.github.com/users/chexxor/followers","following_url":"https://api.github.com/users/chexxor/following{/other_user}","gists_url":"https://api.github.com/users/chexxor/gists{/gist_id}","starred_url":"https://api.github.com/users/chexxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chexxor/subscriptions","organizations_url":"https://api.github.com/users/chexxor/orgs","repos_url":"https://api.github.com/users/chexxor/repos","events_url":"https://api.github.com/users/chexxor/events{/privacy}","received_events_url":"https://api.github.com/users/chexxor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-12T21:45:49Z","updated_at":"2017-03-12T22:17:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bodil/pulp/pulls/260","html_url":"https://github.com/bodil/pulp/pull/260","diff_url":"https://github.com/bodil/pulp/pull/260.diff","patch_url":"https://github.com/bodil/pulp/pull/260.patch"},"body":"Would be nice to initialize a .purs-repl file having \"import Prelude\". This would allow newcomers to PS to do `pulp init` followed by `1+1` and not get a \"Unknown operator (+)\" error.\r\n\r\nThis file would only be read by psci/purs repl when https://github.com/purescript/purescript/pull/2735 is merged, and likely included in the PS v0.11 release.\r\n\r\nI haven't build/tested this change, yet, as my `npm run build` is failing, and I can't find further instructions in this repo for building."},"comment":{"url":"https://api.github.com/repos/bodil/pulp/issues/comments/285981561","html_url":"https://github.com/bodil/pulp/pull/260#issuecomment-285981561","issue_url":"https://api.github.com/repos/bodil/pulp/issues/260","id":285981561,"user":{"login":"chexxor","id":843161,"avatar_url":"https://avatars2.githubusercontent.com/u/843161?v=3","gravatar_id":"","url":"https://api.github.com/users/chexxor","html_url":"https://github.com/chexxor","followers_url":"https://api.github.com/users/chexxor/followers","following_url":"https://api.github.com/users/chexxor/following{/other_user}","gists_url":"https://api.github.com/users/chexxor/gists{/gist_id}","starred_url":"https://api.github.com/users/chexxor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chexxor/subscriptions","organizations_url":"https://api.github.com/users/chexxor/orgs","repos_url":"https://api.github.com/users/chexxor/repos","events_url":"https://api.github.com/users/chexxor/events{/privacy}","received_events_url":"https://api.github.com/users/chexxor/received_events","type":"User","site_admin":false},"created_at":"2017-03-12T22:17:44Z","updated_at":"2017-03-12T22:17:44Z","body":"Yeah, that works fine. \r\n```\r\n$ ./node_modules/.bin/psvm install v0.10.7\r\nVersion v0.10.7 is already installed\r\n```\r\n\r\nI can't figure out why that scripts.js file is executed when I do `npm install`.\r\n\r\n```\r\n{ error: \r\n   { [Error: spawnSync psvm use v0.10.7 ENOENT]\r\n     code: 'ENOENT',\r\n     errno: 'ENOENT',\r\n     syscall: 'spawnSync psvm use v0.10.7',\r\n     path: 'psvm use v0.10.7',\r\n     spawnargs: [] },\r\n```\r\nI added psvm to PATH, but it's still failing..."}}
{"actor":{"display_login":"chexxor"}}