Re: [go-nuts] why iota can't be assigned to variables?

2017-05-04 Thread T L
On Thursday, May 4, 2017 at 4:05:06 PM UTC+8, rog wrote: > > On 4 May 2017 at 03:52, T L > wrote: > > > > > > On Thursday, May 4, 2017 at 1:21:52 AM UTC+8, Axel Wagner wrote: > >> > >> On Wed, May 3, 2017 at 7:04 PM, T L wrote: > >>> > >>> > >>> > >>> On Thursday, May 4, 2017 at 12:46:4

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-04 Thread roger peppe
On 4 May 2017 at 03:52, T L wrote: > > > On Thursday, May 4, 2017 at 1:21:52 AM UTC+8, Axel Wagner wrote: >> >> On Wed, May 3, 2017 at 7:04 PM, T L wrote: >>> >>> >>> >>> On Thursday, May 4, 2017 at 12:46:47 AM UTC+8, Axel Wagner wrote: but const ( a = iota b

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
On Thursday, May 4, 2017 at 1:21:52 AM UTC+8, Axel Wagner wrote: > > On Wed, May 3, 2017 at 7:04 PM, T L > > wrote: > >> >> >> On Thursday, May 4, 2017 at 12:46:47 AM UTC+8, Axel Wagner wrote: >>> >>> but >>> const ( >>> a = iota >>> b >>> s string >>> d >>> ) >>> is not a valid

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread 'Axel Wagner' via golang-nuts
On Wed, May 3, 2017 at 7:04 PM, T L wrote: > > > On Thursday, May 4, 2017 at 12:46:47 AM UTC+8, Axel Wagner wrote: >> >> but >> const ( >> a = iota >> b >> s string >> d >> ) >> is not a valid declaration. You can't say "the rule is the same for >> constants". >> > > For the same

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
On Thursday, May 4, 2017 at 12:46:47 AM UTC+8, Axel Wagner wrote: > > but > const ( > a = iota > b > s string > d > ) > is not a valid declaration. You can't say "the rule is the same for > constants". > For the same rule, I mean just copying the corresponding part from last li

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread 'Axel Wagner' via golang-nuts
but const ( a = iota b s string d ) is not a valid declaration. You can't say "the rule is the same for constants". Again: const-declarations and variable declarations are very different. You can not argue "it's the same"; it's not. On Wed, May 3, 2017 at 6:28 PM, T L wrote: > >

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
On Thursday, May 4, 2017 at 12:17:13 AM UTC+8, Jan Mercl wrote: > > On Wed, May 3, 2017 at 6:00 PM T L > > wrote: > > > Just like what expected for constants. > > For constants it's expected to reuse the last iota expression when absent. > Do you propose that > > var ( >

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread Jan Mercl
On Wed, May 3, 2017 at 6:00 PM T L wrote: > Just like what expected for constants. For constants it's expected to reuse the last iota expression when absent. Do you propose that var ( a = iota b ) will become valid and initialize a to 0 and b to

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
On Wednesday, May 3, 2017 at 11:39:29 PM UTC+8, Jan Mercl wrote: > > On Wed, May 3, 2017 at 5:07 PM T L > > wrote: > > > The complexity is the same as iota in constant declarations. > > How can that be claimed when still nobody ever seen any specification of > what var foo = iota shall do at a

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread Jan Mercl
On Wed, May 3, 2017 at 5:07 PM T L wrote: > The complexity is the same as iota in constant declarations. How can that be claimed when still nobody ever seen any specification of what var foo = iota shall do at all? The space of possible semantics is unbounded. The sane subspace seems to me to be

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread Ayan George
On 05/03/2017 10:38 AM, T L wrote: > > > On Wednesday, May 3, 2017 at 9:28:28 PM UTC+8, Jan Mercl wrote: > > On Wed, May 3, 2017 at 3:19 PM T L > > wrote: > > Why would you want to assign iota to a variable? What value should > iota in such case have? > > > The request is not essential, b

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
On Wednesday, May 3, 2017 at 10:53:42 PM UTC+8, Jan Mercl wrote: > > On Wed, May 3, 2017 at 4:38 PM T L > > wrote: > > > The request is not essential, but any harm of it? > > How can anybody know that if nobody knows what it shall actually do and > what will be the impact on the complexity of t

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread Jan Mercl
On Wed, May 3, 2017 at 4:38 PM T L wrote: > The request is not essential, but any harm of it? How can anybody know that if nobody knows what it shall actually do and what will be the impact on the complexity of the specification and implementation? -- -j -- You received this message because

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
On Wednesday, May 3, 2017 at 9:28:28 PM UTC+8, Jan Mercl wrote: > > On Wed, May 3, 2017 at 3:19 PM T L > > wrote: > > Why would you want to assign iota to a variable? What value should iota in > such case have? > > The request is not essential, but any harm of it? > > -- > > -j > -- You r

Re: [go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread Jan Mercl
On Wed, May 3, 2017 at 3:19 PM T L wrote: Why would you want to assign iota to a variable? What value should iota in such case have? -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving ema

[go-nuts] why iota can't be assigned to variables?

2017-05-03 Thread T L
. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: [go-nuts] why "iota"?

2016-11-10 Thread Michael Jones
: [go-nuts] why "iota"? On Thu, 10 Nov 2016 06:43:09 -0800 Michael Jones wrote: > “…on our math high school courses.” > > Which I imagine are like my college math courses! Oh, yes, I meant college; silly me ;-) The problem is th

Re: [go-nuts] why "iota"?

2016-11-10 Thread Konstantin Khomoutov
On Thu, 10 Nov 2016 06:43:09 -0800 Michael Jones wrote: > “…on our math high school courses.” > > Which I imagine are like my college math courses! Oh, yes, I meant college; silly me ;-) The problem is that we have somewhat incompatible denominations for these education-related terms, and wha

Re: [go-nuts] why "iota"?

2016-11-10 Thread Rob Pike
tw...@users.sourceforge.net> > Date: Thursday, November 10, 2016 at 4:09 AM > To: Dan Kortschak > Cc: Marvin Renich , golang-nuts < > golang-nuts@googlegroups.com> > Subject: Re: [go-nuts] why "iota"? > > On Thu, 10 Nov 2016 10:27:49 +1030 > Dan

Re: [go-nuts] why "iota"?

2016-11-10 Thread Michael Jones
“…on our math high school courses.” Which I imagine are like my college math courses! -Original Message- From: on behalf of Konstantin Khomoutov Date: Thursday, November 10, 2016 at 4:09 AM To: Dan Kortschak Cc: Marvin Renich , golang-nuts Subject: Re: [go-nuts] why "

Re: [go-nuts] why "iota"?

2016-11-10 Thread Konstantin Khomoutov
On Thu, 10 Nov 2016 10:27:49 +1030 Dan Kortschak wrote: > On Wed, 2016-11-09 at 09:30 -0500, Marvin Renich wrote: > > Iota is pronounced eye-OH-tuh. > > Or yoh-ta (like Yoda, but with s/d/t/) if not in America. > I concur that here in Russia we taught to spell it yoh-ta on our math high school c

Re: [go-nuts] why "iota"?

2016-11-09 Thread Dan Kortschak
Or yoh-ta (like Yoda, but with s/d/t/) if not in America. On Wed, 2016-11-09 at 09:30 -0500, Marvin Renich wrote: > Iota is pronounced eye-OH-tuh. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving

Re: [go-nuts] why "iota"?

2016-11-09 Thread 'David Chase' via golang-nuts
If you're looking for Greek pronunciation of Greek letters, there's this: https://www.youtube.com/watch?v=vPEtRc05G7Q which agrees with what I learned in high school (and what is now stuck in my head). On Saturday, April 27, 2013 at 8:52:36 PM UTC-4, mb0 wrote: > > > Wikipedia says it's a greek a

Re: [go-nuts] why "iota"?

2016-11-09 Thread Konstantin Khomoutov
On Wed, 09 Nov 2016 07:02:38 -0800 Michael Jones wrote: [...] > According to the OED, the meaning of iota as “a small or > insignificant quantity” derived from iota being the smallest letter > in the Greek alphabet (i.e., physical orthography.) > > P.S. Yes, this is a little bit more detailed th

Re: [go-nuts] why "iota"?

2016-11-09 Thread andrey mirtchovski
> gnosiology. not to be confused with "gnusiology", the philosophy of using two dashes where one would suffice. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to g

Re: [go-nuts] why "iota"?

2016-11-09 Thread Rob Pike
., physical orthography.) > > > > P.S. Yes, this is a little bit more detailed than was necessary…but…many > of us are working hard to find joy today. > > > > *From: * on behalf of > *Date: *Tuesday, November 8, 2016 at 10:04 PM > *To: *golang-nuts > *Subject: *

Re: [go-nuts] why "iota"?

2016-11-09 Thread Michael Jones
Date: Tuesday, November 8, 2016 at 10:04 PM To: golang-nuts Subject: Re: [go-nuts] why "iota"? I don`t know how to speak 'iota' too,I have to say "i---o---t---a" when I talk with somebody. 在 2013年4月28日星期日 UTC+8上午8:52:36,mb0写道: > Wikipedia says it's a greek

Re: [go-nuts] why "iota"?

2016-11-09 Thread John McKown
On Wed, Nov 9, 2016 at 12:04 AM, wrote: > I don`t know how to speak 'iota' too,I have to say "i---o---t---a" when I > talk with somebody. > > ​Being a crude Texan, I pronounce it like "eye ough ta"​ ​(which is also how I pronounce "i ought to" because, well, I'm a Texan! [grin]). BTW, it's also

Re: [go-nuts] why "iota"?

2016-11-09 Thread Marvin Renich
* liyu1...@gmail.com [161109 08:26]: > I don`t know how to speak 'iota' too,I have to say "i---o---t---a" when I > talk with somebody. > > 在 2013年4月28日星期日 UTC+8上午8:52:36,mb0写道: > > > > > Wikipedia says it's a greek alphabet that looks like i, and I am seeing > > > APL used iota for something l

Re: [go-nuts] why "iota"?

2016-11-09 Thread liyu1259
I don`t know how to speak 'iota' too,I have to say "i---o---t---a" when I talk with somebody. 在 2013年4月28日星期日 UTC+8上午8:52:36,mb0写道: > > > Wikipedia says it's a greek alphabet that looks like i, and I am seeing > > APL used iota for something like range() in python, which makes > > go-lang's us