Fork me on GitHub

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?


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


@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)


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


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


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