🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1299

Re: p = {1,0,0}

#1299
From: fir
Date: Tue, 03 Nov 2026 15:18
81 lines
3173 bytes
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
}


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: <11ccu0t$3s54f$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-mail
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>

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:18:53 +0100
Organization: A noiseless patient Spider
Lines: 81
Message-ID: <11ccu0t$3s54f$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 03 Nov 2026 15:18:53 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="4068495"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19VrRaPUmyTiLjCbAABLYC21Jas0LEt88A="; 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:gWGx0GY9p6692qW9qP/rD04cXLc= sha256:XEeU4Yb+0mz3JjjXVZTS5+EIWC23JCrJXvySbT4buoM=
	sha1:nGHWOuiTYYbDHCRIVj+xjOwH5io= sha256:Hb83H0a9NhO7ap2OK2TKU5VZYWqkLFgS1aAIzyIZh9g=
In-Reply-To: <11cctee$3rtjh$1@dont-email.me>