Hi!
I've recently discovered that get_and_update_in/3 and friends can access
multiple items at once via Access.all/0, Access.filter/1, and similar. It's
a game changer for accessing deeply nested structures.
However, there is no function in the standard library for accessing
multiple items of
ceive.
>
>
> *José Valimhttps://dashbit.co/ <https://dashbit.co/>*
>
>
> On Fri, Mar 28, 2025 at 1:10 PM David Pavlík wrote:
>
>> Hi!
>>
>>
>> In our codebase, we use a macro called assert_wait that behaves like
>> assert but retries if it fails un
Hi!
In our codebase, we use a macro called assert_wait that behaves like assert but
retries if it fails until some timeout is exceeded. If the timeout is
reached, it raises in the same way as a failing assert would.
We've been using it for about a year and are quite happy with it. We find