zed
zed copied to clipboard
Recursion, graph loops
I wonder how to do (indirect) recursion in Zed. In other words how to construct arbitrary loops in the graph? How would I implement e.g. quick sort purely in the Zed language (without the use of existing libs)?
Lateral queries & scopes seem somewhat in those waters but do not seem to cut it.
Thanks, @dumblob. This isn't currently part of the model. Did you have a use case in mind?
I was expecting implementing "recursive algos" is possible. E.g. quick sort. Any ideas how to approach it?