Investigate client side ns building
Closed this issue · 0 comments
sfertman commented
Right now I call remote functions like this:
(rpc-call 'f-name arg1 arg2 ...)
Would be neat if I could candy it up:
(rpc-call/f-name arg1 arg2 ...)
Building the ns is not much of a problem (create-ns
, intern
, see: 6815356) but this can be done only at run time (unless we want to require the entire lib that's supposed to be remote which I don't like). As a result, the compiler which does not know anything about my soon to be auto-generated functions rightfully complains that none of them exist.