Closed dorian3343 closed 1 month ago
IMO if
and Eq
will pair nicely with Iter
and future components to create composition
Having two outports forces you to use it in a specific way instead of it being flexible
Why? Could you please provide some proof?
If
andEq
will pair nicely with Iter
Iter
most of the time preferring something like map/filter/reduce/for
Implemented two new logic components to improve DX.
Assert component
Type signature
Compares two values and returns if they're equal
If component
Type signature
Takes in a boolean and starts one of the two branches. Ok if the bool is true, else if its false
Example usage