Make `InternalNode` iterable
reuterbal opened this issue · comments
Balthasar Reuter commented
InternalNode
encapsulates a tuple of IR nodes, which often results in awkward indirection because it requires writing internal_node.body
quite often. Making this iterable would allow easier subscripting etc., such as internal_node[i]
or node in internal_node
.
Originally posted by @mlange05 in #95 (comment)