Open EvgSkv opened 3 years ago
To me, this looks like a generally useful feature. It also solves my problem, but this fact should not inform your design decisions :-)
@TimKam, thanks for feedback!
This feature is inline with my vision of how Logica should evolve.
However, I don't think current contributors will be able to get to this anytime soon.
If you are interested in contributing towards making this happen let me know :-) In any case, I'll update this issue when we have an estimate when it happens.
Thank you! Same here: unfortunately, it would be naive for me to commit to it right away, but if I will be able to understand the technical challenge and allocate time to it, I'll let you know.
Functors in Logica are functions that map named tuples of predicates to a predicate. Currently the only available functors are substitutions. Any predicate can work as a functor.
External Functors would be arbitrary executables that are running in the middle of Logica program execution. They would create new database tables from the ones that Logica already produced. Here is a toy high level example of what application of such function would look like:
To implement this we would need to implement new execution engine that would be doing these calls.
Estimated work time to implement: 3 - 5 weeks.