dry-python/returns

flatten results of do-blocks before returning

ftaebi opened this issue · 1 comments

In order to enhance the flexibility and avoid workarounds, consider flattening the results of do-blocks before returning them. This way the user can decide inside the do-block if his result needs a unit operation or not.

Thanks, this is a good idea!