protorepl

tarmes 2017-02-21T16:29:56.000669Z

Hi all. I’ve just discovered protorepl. I have it installed and for the most part it’s working well; I can evaluate general expressions and the real-time evaluation in my source files works. However, when I try to evaluate expressions (in the protorepl tab) which reference definitions in my source file, it can’t find them.

tarmes 2017-02-21T16:30:42.000670Z

It states that it’s loaded the source file: :reloading (fwpd.core fwpd.core-test)

tarmes 2017-02-21T16:31:20.000671Z

Am I forgetting something?

lostineverland 2017-02-21T17:08:17.000672Z

@tarmes, I had not noticed the :reloading..., but that's the same behavior that I've been working with as well, that is, I need to load the context into the repl manually.

tarmes 2017-02-21T17:08:46.000673Z

How do you do that?

lostineverland 2017-02-21T17:12:04.000675Z

with proto-repl:execute-selected-text aka cmd-s

tarmes 2017-02-21T17:12:43.000676Z

Ah ok

tarmes 2017-02-21T17:12:52.000677Z

So you need to select all and evaluate first

tarmes 2017-02-21T17:12:59.000678Z

That’s - unexpected

tarmes 2017-02-21T17:13:01.000679Z

Thanks.

lostineverland 2017-02-21T17:13:10.000680Z

but I should add, that I'm only a week into this myself ;^)

tarmes 2017-02-21T17:13:16.000681Z

🙂

jasongilman 2017-02-21T19:38:29.000683Z

@tarmes most of the time I work by evaluating blocks of code in a scratch file or namespace and sending to the REPL. I would recommend working that way for the best experience if working with code defined in a namespace.