{"action":"created","issue":{"url":"https://api.github.com/repos/hspec/sensei/issues/29","labels_url":"https://api.github.com/repos/hspec/sensei/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/hspec/sensei/issues/29/comments","events_url":"https://api.github.com/repos/hspec/sensei/issues/29/events","html_url":"https://github.com/hspec/sensei/issues/29","id":111968667,"number":29,"title":"Repl inside sensei?","user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T15:30:47Z","updated_at":"2015-10-19T11:20:36Z","closed_at":"2015-10-19T11:20:36Z","body":"This is a feature request.  If you agree to the idea, there is a small chance that I'll come back with an implementation.\r\n\r\nMy work flow is often to load the module I am working on into ghci (with -fdefer-type-errors and everything), evaluate expressions and commands in the repl, and copy code back from there into the module.  It would be nice if sensei would allow me to do that on top of running the test suite for me.\r\n\r\nOptions I could think of:\r\n1. read one line of input from the socket, `eval` it, and send the output back over the socket.  I could operate this using `nc` as a client.\r\n2. add a second http endpoint that takes a string body with one or more lines, and evaluates those in the given order.\r\n3. (on top of either of the above) add a `--repl` flag to seito and expose a repl with readline support.\r\n\r\nFrom (2), one could build a little web app using ghcjs that allows to browse the history of test suites, and has a little repl pane somewhere.\r\n\r\nSorry that I am making so much noise today.  (-:"},"comment":{"url":"https://api.github.com/repos/hspec/sensei/issues/comments/149188130","html_url":"https://github.com/hspec/sensei/issues/29#issuecomment-149188130","issue_url":"https://api.github.com/repos/hspec/sensei/issues/29","id":149188130,"user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T11:20:36Z","updated_at":"2015-10-19T11:20:36Z","body":"You're right.  My idea is slightly more convenient at the surface, but over-complicates things.\r\n\r\nthanks-"}}