Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class X { Validation<Throwable, Unit> a; Validation<Throwable, Unit> b; Validation<Throwable, Unit> c; Validation<Throwable, Unit> d; Validation<Throwable, Unit> e; Validation<Throwable, Unit> f; //// Validation<Throwable, Unit> g; Validation<Throwable, Unit> h; Validation<Throwable, Unit> i; Validation<Throwable, Unit> tt1() { return a.sequence(b). sequence(c). sequence(d). sequence(e). sequence(f); } Option<NonEmptyList<Throwable>> t2() { return tt1().nel().accumulate(Semigroup.<Throwable>nonEmptyListSemigroup(), g.nel(), h.nel(), i.nel()); } }
This paste will be private.
From the Design Piracy series on my blog: