Void/absorber as a component #158
emil14
started this conversation in
Standard Library
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let compiler adds usage of
void
operator for all unused outports. Get rid ofvoid
as a special _effect.Note that
void
must not have any outports (just like root node).Problem
The problem is in the typings. It's impossible with the header above to read from several outports if they have different types (which is usually the case)
Solution 1 - Any type
It's possible with
Related to #143
Solution 2 - Many voids
Create as many
void
s as we have unread ports, each with special<t>
Beta Was this translation helpful? Give feedback.
All reactions