http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode695 doc/go_spec.html:695: rune alias for int I'm not sure we should ...
13 years, 6 months ago
(2011-10-19 20:49:13 UTC)
#2
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode695 doc/go_spec.html:695: rune alias for int On 2011/10/19 20:49:13, iant wrote: ...
13 years, 6 months ago
(2011-10-19 21:36:49 UTC)
#3
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html
File doc/go_spec.html (right):
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode695
doc/go_spec.html:695: rune alias for int
On 2011/10/19 20:49:13, iant wrote:
> I'm not sure we should say that rune is an alias for int. It is today, but in
> the future it will be an alias for int32. Can we just say that rune is an
alias
> for either int or int32? Or should we add a note that it will change in the
> future?
I think we should say that it will change in the future to int32.
The long term plan is that there be just one definition.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode3375
doc/go_spec.html:3375: the equivalent <code>[]int</code>) to a string type
yields a
On 2011/10/19 20:49:13, iant wrote:
> In the future we plan to remove the conversion to []int, so I'm not sure it
> should be mentioned here.
Agreed.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode3396
doc/go_spec.html:3396: Converting a value of a string type to
<code>[]rune</code> (or <code>[]int</code>)
On 2011/10/19 20:49:13, iant wrote:
> Again I think we should drop the mention of []int.
Agreed.
PTAL http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html File doc/go_spec.html (right): http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode2 doc/go_spec.html:2: <!-- subtitle Version of October 19, 2011 --> ...
13 years, 6 months ago
(2011-10-19 21:44:16 UTC)
#6
PTAL
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html
File doc/go_spec.html (right):
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode2
doc/go_spec.html:2: <!-- subtitle Version of October 19, 2011 -->
changed to presumed submission date 10/25
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode695
doc/go_spec.html:695: rune alias for int
On 2011/10/19 20:49:13, iant wrote:
> I'm not sure we should say that rune is an alias for int. It is today, but in
> the future it will be an alias for int32. Can we just say that rune is an
alias
> for either int or int32? Or should we add a note that it will change in the
> future?
Done.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode695
doc/go_spec.html:695: rune alias for int
On 2011/10/19 21:36:49, rsc wrote:
> On 2011/10/19 20:49:13, iant wrote:
> > I'm not sure we should say that rune is an alias for int. It is today, but
in
> > the future it will be an alias for int32. Can we just say that rune is an
> alias
> > for either int or int32? Or should we add a note that it will change in the
> > future?
>
> I think we should say that it will change in the future to int32.
> The long term plan is that there be just one definition.
Done.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode715
doc/go_spec.html:715: <code>byte</code> and <code>rune</code>, which are an
aliases for
On 2011/10/19 20:49:13, iant wrote:
> s/an //
Done.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode3375
doc/go_spec.html:3375: the equivalent <code>[]int</code>) to a string type
yields a
On 2011/10/19 20:49:13, iant wrote:
> In the future we plan to remove the conversion to []int, so I'm not sure it
> should be mentioned here.
Done.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode3375
doc/go_spec.html:3375: the equivalent <code>[]int</code>) to a string type
yields a
On 2011/10/19 21:36:49, rsc wrote:
> On 2011/10/19 20:49:13, iant wrote:
> > In the future we plan to remove the conversion to []int, so I'm not sure it
> > should be mentioned here.
>
> Agreed.
Done.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode3396
doc/go_spec.html:3396: Converting a value of a string type to
<code>[]rune</code> (or <code>[]int</code>)
On 2011/10/19 21:36:49, rsc wrote:
> On 2011/10/19 20:49:13, iant wrote:
> > Again I think we should drop the mention of []int.
>
> Agreed.
Done.
http://codereview.appspot.com/5293048/diff/8001/doc/go_spec.html#newcode3396
doc/go_spec.html:3396: Converting a value of a string type to
<code>[]rune</code> (or <code>[]int</code>)
On 2011/10/19 20:49:13, iant wrote:
> Again I think we should drop the mention of []int.
Done.
Issue 5293048: code review 5293048: go spec: introduce rune type
(Closed)
Created 13 years, 6 months ago by gri
Modified 13 years, 5 months ago
Reviewers:
Base URL:
Comments: 25