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

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 >>> )

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 >>

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

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

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

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

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

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

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

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

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? > > --

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

[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
in Khomoutov <flatw...@users.sourceforge.net>, Dan Kortschak <dan.kortsc...@adelaide.edu.au>, Marvin Renich <m...@renich.org>, golang-nuts <golang-nuts@googlegroups.com> Subject: Re: [go-nuts] why "iota"? On Thu, 10 Nov 2016 06:43:09 -0800 Michael Jones <mi

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

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

2016-11-10 Thread Rob Pike
ts@googlegroups.com> on behalf of Konstantin Khomoutov < > flatw...@users.sourceforge.net> > Date: Thursday, November 10, 2016 at 4:09 AM > To: Dan Kortschak <dan.kortsc...@adelaide.edu.au> > Cc: Marvin Renich <m...@renich.org>, golang-nuts < > golang-nuts@googlegr

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

2016-11-10 Thread Michael Jones
<dan.kortsc...@adelaide.edu.au> Cc: Marvin Renich <m...@renich.org>, golang-nuts <golang-nuts@googlegroups.com> Subject: Re: [go-nuts] why "iota"? On Thu, 10 Nov 2016 10:27:49 +1030 Dan Kortschak <dan.kortsc...@adelaide.edu.au> wrote: > On We

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

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

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

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

2016-11-09 Thread Rob Pike
tter in the Greek alphabet > (i.e., 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: *<golang-nuts@googlegroups.com> on behalf of <liyu1...@gmail.com>

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

2016-11-09 Thread Michael Jones
lang-nuts@googlegroups.com> on behalf of <liyu1...@gmail.com> Date: Tuesday, November 8, 2016 at 10:04 PM To: golang-nuts <golang-nuts@googlegroups.com> 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 som

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!

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

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