Article View: comp.lang.c
Article #1300Re: p = {1,0,0}
From: fir
Date: Tue, 03 Nov 2026 15:38
Date: Tue, 03 Nov 2026 15:38
113 lines
3861 bytes
3861 bytes
fir pisze:
> fir pisze:
>> fir pisze:
>>> fir pisze:
>>>>
>>>> zoo({x,y,} foo({2,3,4}))
>>>>
>>>> foo terurns int-int-int but zoo takes only 2 ints
>>>
>>>
>>> it shows some interesting thing like
>>>
>>> x = foo() this equal could be said is wrong (becouse it is not
>>> quite assigment in general its like adressing x more than assigning)
>>>
>>> becouse here it could be
>>>
>>> {x} foo()
>>>
>>> or
>>>
>>> foo(){x}
>>>
>>
>> i dont know it this above is in fact not more basic than this leftside
>> one
>>
>> generally some coud say that calling coud work both left and right
>> then () would be operator of taking ad {} of returning
>>
>> (3,4) add {c} //add 3 yo 4 and put it to c
>>
>> or for both sides
>>
>> (2) add (3) {c}
>
>
> a sto "pure form" (or normally speaking pure form) overally it seems
> that those () {} can be ommited in call when function has very hardcoded
> signature, so eventually you may add some in definition to hardcode such
> signature
>
> (int a) (int b) foo [int x]
> {
> x = a + b
> }
some question arise
becouse there are option to treat function as a structure with value
or using this syntax to adres outcoming value
(int a) + (int b) {int x = a+b }
(int a) foo (int b) { int x = (a+b)/2, int y = (a-b)/2 }
here basic seem this structural
output one also can be defined like here
rand (int d) [int x] { x = rand()%d}
rand 10 x
there is also question if they should be tied/blend together some way
i dont know at the moment - though question is kinda interesting
>
>
> than
>
> 2 3 add b
>
> is know what mean
>
> maybe this pure form is in fact better becouse its clarity is appealing
>
>
>
>
>
>
>
>
>
>>
>> i dont know if it has sense but something could be searched here
>> (as to potential usability)
>>
>>
>>
>>>
>>> (it also may be kipped as anonymous as it is often skipped )
>>>
>>> its also more compatible as i asid in returning more values
>>>
>>>
>>> buck then i was thinking about shipping {} and use this pure form
>>> like x y foo a b c but it seem harder to think so for some stage this
>>> very classic {a,b,c} is quite good to do some insight using it
>>>
>>>
>>
>
Technical Details
Message-ID:
<11ccv4n$3sjn5$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11c7f1j$20b9h$1@dont-email.me> <11c7fj6$20gab$1@dont-email.me> <11cae5m$318tq$1@dont-email.me> <11calrt$34gq3$1@dont-email.me> <11carqs$36m0o$1@dont-email.me> <11cb4hs$3a13l$1@dont-email.me> <11ccnkq$3pjhd$1@dont-email.me> <11ccobd$3ps4l$1@dont-email.me> <11cctee$3rtjh$1@dont-email.me> <11ccu0t$3s54f$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: fir <profesor.fir@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: p = {1,0,0}
Date: Tue, 3 Nov 2026 16:38:00 +0100
Organization: A noiseless patient Spider
Lines: 113
Message-ID: <11ccv4n$3sjn5$1@dont-email.me>
References: <11c7f1j$20b9h$1@dont-email.me> <11c7fj6$20gab$1@dont-email.me>
<11cae5m$318tq$1@dont-email.me> <11calrt$34gq3$1@dont-email.me>
<11carqs$36m0o$1@dont-email.me> <11cb4hs$3a13l$1@dont-email.me>
<11ccnkq$3pjhd$1@dont-email.me> <11ccobd$3ps4l$1@dont-email.me>
<11cctee$3rtjh$1@dont-email.me> <11ccu0t$3s54f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 03 Nov 2026 15:38:00 +0000 (UTC)
Injection-Info: dont-email.me;
logging-data="4083429"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iO936lWRRC+mxNo15B4I5YMtINQ3nOkg="; posting-host="74e0b903fc41719bd550775fdb1cba7e"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:oj3k3wFE/Voy6Nf0jNXEXEny7YE= sha256:ewblPR2jzhDFZKxsMwMpHWyXKahX0uTjQGt4MFDR47E=
sha1:ImhC0numUTeoirhlJclnX/oRNWQ= sha256:fU+DRWPMEMVausiljVdXD81bPZxtcrN8uqxjfjEwdOE=
In-Reply-To: <11ccu0t$3s54f$1@dont-email.me>