i2mint / meshed

Link functions up into callable objects
https://i2mint.github.io/meshed/
MIT License
4 stars 3 forks source link

Refactor: FuncNode and DAG so that `_id := name == out` #29

Open thorwhalen opened 2 years ago

thorwhalen commented 2 years ago

There can be only one out for a FuncNode, so it doesn't seem necessary to have a reference both for the FuncNode and for its output.

Need to analyze the pros and cons further as well as the reach of the refactor. For example:

This refactor should probably be done at the same time as we do: https://github.com/i2mint/meshed/issues/20

thorwhalen commented 1 year ago

Not sure we want this. We should first generalize our meshed base tools (beyond DAGs) before deciding what's needed.