Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c++
Subject: Re: C++ named requirements as concepts
Date: Fri, 04 Oct 2024 06:57:32 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <8634lc0y43.fsf@linuxsc.com>
References: <20240929144913.000051e4@yahoo.com> <20241001125332.000058ba@yahoo.com> <20241001131141.000016b1@yahoo.com> <20241001215050.000027aa@yahoo.com> <86bk0319w3.fsf@linuxsc.com> <20241002130236.000005e0@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Fri, 04 Oct 2024 15:57:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="99d18fc23fe01b3764787c90e8ef69e4"; logging-data="252904"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18e1u+BB6YToz7Zy0gwcuH+xcolkei7ip4="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:JPEq+/+ljZYmO9BexOq2tN0poFo= sha1:0zY88I9t38gRzHT8YAuTGe+d56w=
Xref: csiph.com comp.lang.c++:120558
Michael S writes:
> On Tue, 01 Oct 2024 20:06:20 -0700
> Tim Rentsch wrote:
>
>> Michael S writes:
>>
>>> And best (for me, personally, YMMV) solution in pure functional
>>> languges is to avoid programming in such languages.
>>
>> What do you count as a pure functional language?
>
> C++ templates sub-languges. I.e. approximately compile-time part of
> C++ taken in isolation from run-time part and without C++11 and later
> additions.
If that's your only example then not very much is excluded.
It's like saying you don't want to program Turing Machines.
Are there any mainstream languages you would count as purely
functional? (I think it's fair to say that the C++ template
sub-language is not a mainstream language.)