問題タブ [dartz]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
flutter - Dartz を使用してレフトを「連結」する方法
いくつかのタイプで、Either.map5 に似たようなことをしたいと考えています。しかし、Eithers が Left である場合に最初の Left だけを保持するのではなく、すべての Left Both コンテンツを保持して、それらを List に入れたいと考えています。
基本的に、map5 の Each<L,R> 結果の代わりに、Either<List,R> が必要です。
dartz でこれを行うすぐに使える方法はありますか?