Conversation
maan2003
left a comment
There was a problem hiding this comment.
Tuple lens looks good! For Optional, I recommend moving Runebender's Maybe to druid
|
I have similar doubts about the correctness of my |
|
@cmyr could you comment on the difference between this EDIT wrote before I saw @cmyr 's comment 😛. I'd still be interested in your opinions on the questions. |
|
And another question, if we have a widget for the |
|
in no order:
|
|
About the |
|
I'm open to suggestions! |
|
@cmyr I've swapped out the |
|
Ready for review :) |
|
Do we need both |
Oh I thought I had removed |
- A `Lens` that combines 2 lenses into a tuple - A widget that displays an `Option`, showing nothing if there isn't anything to show.
7dba470 to
102e975
Compare
- Change `Tuple` to `Tuple2`. - Put a doc alias of "null" on `SizedBox::empty`. - Remove `Optional` which had already been removed from widget `mod`.
|
Ready for review again. |
cmyr
left a comment
There was a problem hiding this comment.
I won't make strong guarantees about covering all the corner cases in Maybe, but I haven't seen a crash in runebender in a while? 😬
This patch adds 2 features. Special care is needed with the
Optionalwidget. While I'm sure it is very useful, I'm not sure I've implemented it correctly.