Adam Warski

Results 580 comments of Adam Warski

Sure, a separate module sounds good as well :)

so in fact you want to create lenses, right? :) You could have: `(_: Person).lens(_.x.y.z).get`, `.setTo`, `.modifyUsing`, what do you think? But maybe if you need lenses, https://github.com/julien-truffaut/Monocle already has...

There's one major problem here unfortunately: when you are using e.g. `.each` unwrapping. Then you wouldn't be able to get a single value (as there might be 0-many values). A...

@jedesah I would be against using whitebox macros, for two main reasons: they are not IDE-friendly (you don't know the return type until you actually run the compiler), and they...

Well but even if I used GH pages then all of the docs would be on github's domain still? I think if GH is blocked the easiest thing you can...

I'm afraid this is very option-chain-specific. Firstly, you wouldn't be able to use `.modify`, as there need not be a value. Secondly, if e.g. `B` had any other fields, there's...

But what would you put in the indicies in between? Also, how would you initialize an "empty" object which would be added to the sequence?

Maybe `Zeroable` would work ... but I have the feeling that this takes the `.each` syntax a bit too far. Wouldn't, in such situations, just writing code in `.setTo` with...

Thanks for the test! I tried looking into the problem, but unfortunately I have no idea why scalac fails in this case

I think there were some problems with merging the 2.11 branch to 2.10, as the 2.10 macros has some bugs. But maybe this is already fixed ... maybe you can...