Fork me on GitHub
#cursive
<
2016-08-17
>
cfleming01:08:13

@sandbags: That’s to prevent people from accidentally sending code to the wrong REPL, which happened a lot.

cfleming01:08:53

You can always cut+paste the code to the REPL editor in case of emergency

Pablo Fernandez08:08:31

In this snippet of code:

Pablo Fernandez08:08:38

What’s the paraedit way of pushing the let inside the function definition?

cfleming08:08:11

@pupeno: I don’t think there’s a good way to do that, unfortunately. I’d kill the fn [data], raise the (assoc-in… and then wrap the whole thing and paste the fn [data] again. Not very elegant. Paredit proper has transpose-sexp which I think does that, but I couldn’t find any useful examples online of how it should work.

rauh13:08:53

Just generated some stubs.... Unsuccessfully. Gave me a few errors at first, which I fixed. Eventually only gave me warnings and the window "note" (at the top) for generating stubs disappeared. But it seems to not do any "Quick Doc" for Datomic. Do I have to do anything else?

cfleming18:08:51

@rauh: You shouldn’t, no. Could you try closing and opening your project? I’ve seen a couple of issues where IJ doesn’t pick up new stubs.

rauh19:08:16

@cfleming: A restart just broke about everything in IJ, it's loading and then just not displaying anything besided the top menu

rauh19:08:40

Invalidate and restart fixed it. Now checking the stubs. Edit: Quick docs works. YES! 🙂

cfleming23:08:49

@rauh: Well, I’m sorry about the restart issue, but I’m glad it’s working! I have to figure out a reliable way to ensure the stubs are picked up after being added.