Fork me on GitHub
#cursive
<
2016-03-12
>
sveri10:03:19

Hi, I am currently trying out hugsql and like some other libraries it generates functions dynamically. While they are recognized in the REPL they are not in cursive. I understand why that is, but wonder if there is a nice solution to it except using declare?

sveri10:03:07

Hm, I also could write a wrapper function for each generated function, but that kind of defeats the purpose of the generation

cfleming10:03:55

@sveri: I’m planning a change in the next couple of releases which will do that automatically (introspect a REPL, generate hidden stubs for non-indexed vars)

sveri10:03:21

@cfleming: Woho, that sounds awesome, do you have an issue for that already?

cfleming10:03:24

I don't think so, but it's in my head and on my list :-)

sveri11:03:02

For me this is another distinctive feature that would ease development with cursive much more than it already does