Being able to express logic with map and filter
simplifies the expression of an implementation.
However doing this iteration in a method requires a loop.
Loop invariants are hard.
@robin-aws here is the implementation we have been talking about.
Obviously we need examples before we could merge,
but this can start a discussion about if/how such constructs could be used or simplified.
Being able to express logic with map and filter simplifies the expression of an implementation.
However doing this iteration in a method requires a loop. Loop invariants are hard.
@robin-aws here is the implementation we have been talking about. Obviously we need examples before we could merge, but this can start a discussion about if/how such constructs could be used or simplified.