-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some sort of macro for defining topologies #1
Comments
One way to deal with the arity issue would be to make the functions suffixed by * again, then have macro version without the * for use in the with-trident-topology macro. |
I like that idea. Consistent with the current use of the |
Another possibility is to have a |
Also we probably want something related for streams, e.g. |
Most
build-topology
(or equivalent) functions look very similar. In simple cases something like a macro forcould almost work. But for even marginally more complicated topologies, there might be states or intermediate streams that need to be defined.
Another option would be to have a
with-trident-topology
macro that bound e.g.*trident-topology*
to aTridentTopology
object, and returned the trident topology at the end. We'd have to change all the arities of the existing helpers, and they would no longer be useful outside of awith-trident-topology
. I think that's fine.The text was updated successfully, but these errors were encountered: