> Le 27 juil. 2022 à 00:46, Dan Eble <dan@lyric.works> a écrit :
> 
> Readers will know that you are just iterating if you use a range-based for 
> loop.


OK, I’ll just stick with that.


> If the variable declaration is a reference, assignment modifies the current 
> list element (and readers will be expecting it).
> 
>    // set! all elements of the_list to #f
>    if (SCM &s : as_ly_scm_list (the_list))
>      s = SCM_BOOL_F;

Did you mean for rather than if, or is this syntax I am not aware of?

Thanks,
Jean



Reply via email to