Arvin

Results 21 comments of Arvin

I've encountered a peculiar situation with a message delivery order, and I'd like to explain it in hopes of shedding light on the issue. Assume we have three messages (A,...

Dear @Lonami, I'm sure that I received message (C) before (B) but I'm not sure if it was deleted and sent again or not. If it was deleted, I expected...

Thanks for your help, [wesgarland](https://github.com/wesgarland). Your guidance was invaluable since there was no rich official documentation available. Upon a thorough examination of React and ReactDOM's source code, I identified the...

I think these two requests are in one direction as you also mentioned but even before having conditional traits in Mojo, we can simply implement the `CollectionElement` trait to conform...

Thanks for your concern @JoeLoser. I think we can take 2 general approaches to make this work. 1- Make the return types from `Bool` to `Boolable` as you completely described....

Additionally, it's worth noting that the `list.index` method in Python accepts the parameters `value`, `start`, and `end`. However, these are not treated as keyword arguments, meaning that while passing the...

Now I think we must wait for [this issue](https://github.com/modularml/mojo/issues/2238) to get resolved.

@JoeLoser, @gabrieldemarmiesse Thanks for your concern. But one part is still ambiguous for me. In [issue 2263](https://github.com/modularml/mojo/issues/2263), you mentioned `count` implementation should be like below (which is very similar to...

Thanks for your detailed clarification @gabrieldemarmiesse. I rebased and implemented those two as free functions as @JoeLoser suggested. I also decided to put the new `ComparableCollectionElement` trait beside `CollectionElement` in...

> could you run "mojo format ./" before pushing the new changes? Sure. I run it but it seems there are more formatting issues available in `list.mojo` and `test_list.mojo` that...