A little help with Ranges
Stefan Koch
uplink.coder at googlemail.com
Fri Aug 27 02:10:48 UTC 2021
On Friday, 27 August 2021 at 01:51:42 UTC, Merlin Diavova wrote:
> Hi all,
>
> I'm Merlin, I'm just starting out in D and super excited.
>
> My questions are:-
>
> 1. In a range pipeline how does one handle the event of a
> filter range returning empty?
>
> 2. How does one unwrap a single result from a range operation?
>
>
> Look forward to your assistance!
>
> Merlin
1. you don't have to handle it.
it just won't go.
2. `takeOne` put it into the search on the dlang site
More information about the Digitalmars-d-learn
mailing list