Fork me on GitHub
#cursive
<
2018-05-04
>
raymcdermott08:05:07

Hi @cfleming I’m having some weird behaviour differences between file loading in a REPL and an interactive session

raymcdermott08:05:32

when I try to load this file into the REPL it barfs

raymcdermott08:05:27

if I script the same code into the REPL, it works fine (in both the CLI REPL and the Cursive REPL)

raymcdermott08:05:46

Maybe I have screwed up in some way ?

💀 4
raymcdermott08:05:54

if not, shall I open a bug?

alexmiller12:05:26

I think you’re using gen/fmap wrong

alexmiller12:05:29

The spec gen namespace differs from test.check gen in take generator thunks instead of generators

alexmiller12:05:53

Your first example used spec gen and second used test.check gen

😂 4
alexmiller12:05:36

If using spec gen, 2nd argument to fmap should be a no-arg function that returns a generator (so you can just add # at the front to make it an anonymous function)

alexmiller12:05:20

I don’t think this has anything to do with Cursive

akiel12:05:28

In the “resolve macro as” dialog, there is a “Specify…” option. It asks for a var name. Is there documentation how it works?

tengstrand13:05:27

When i stop at a breakpoint and press <alt>+<F8>, I can’t easily execute/evaluate functions from the current namespace, e.g. (my-function). If the function lives in another namespace, I can press <alt>+<enter>. My workaround for functions in current namespace is to wrap it with an ‘identity’ function, e.g.: (identity (my-function)). It worked before without having to import functions in earlier versions of Cursive. I run 1.6.3-2017.2 of Cursive and 2017.2 Community edition of IDEA.