« first day (79 days earlier)    last day (14 days later) » 

3:50 AM
Argh, cumsum([]) is an error.
 
What's this for?
 
Takewhile.
 
Does reduce work on empty lists? might be shorter than a ternary
doubt it
 
I'm not aware of a generic cumulative reduce in Julia. Anyway, I went with something else.
0
A: Implement Takewhile

DennisJulia, 24 bytes !x=1∈x%2?!x[1:end-1]:x Try it online!

!x=x[cumsum(x%2).<1] would have saved 4 bytes though.
 
@quartata no
 
4:05 AM
Oh cumsum doesn't do what I thought it did. Der.
 
4:32 AM
@quartata What did you think it did?
 

« first day (79 days earlier)    last day (14 days later) »