Path: csiph.com!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.programming Subject: Re: A little puzzle. Date: Tue, 22 Nov 2022 05:31:59 -0800 Organization: A noiseless patient Spider Lines: 21 Message-ID: <861qpv9kts.fsf@linuxsc.com> References: <875yf8nijb.fsf@bsb.me.uk> <86ilj7ahsv.fsf@linuxsc.com> <87a64jkut1.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader01.eternal-september.org; posting-host="0b8f1b00ad451c4da87815129da31114"; logging-data="119594"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mHW7JKc9zeCdwYvmP2C7dZiczy2IDqtE=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:UKR99YzY+yEMATStehTD1aWOmoU= sha1:tggkchzuN929QEQOvPqCSWXk8Zs= Xref: csiph.com comp.programming:15937 Ben Bacarisse writes: > Tim Rentsch writes: > >> The question I think you're asking is to write a function like this > > Yes, but I deliberately did not present the question with this degree of > clarity! I wanted to present the problem as I came across it because > what little fun it offers comes from clarifying the issue. Ah ha. I didn't understand that before. >>> Though I am not sure this merits the term "puzzle", I suggest that >>> solutions be posted with some spoiler protection. >> >> That's good, thank you for the reminder. > > Your explanation of the issue is, to my mind, a teeny tiny spoiler put > "above the fold". Yes, I realized that only later and after the fact. My apologies.