FAQ
PTAL


https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html
File doc/go_spec.html (right):

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode819
doc/go_spec.html:819: negative <a href="#Constants">constant</a>
representable by an <code>int</code> value.
On 2012/12/10 20:36:21, iant wrote:
Perhaps s/an int value/a value of type int/ ?
Done.

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode837
doc/go_spec.html:837: Implementation restriction: A compiler may
restrict the maximum pemissible
On 2012/12/10 20:36:21, iant wrote:
s/A compiler/An implementation/
s/pemissible/permissible/
Done.

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode839
doc/go_spec.html:839: may be restricted by the size of the address
space.
On 2012/12/10 20:36:21, iant wrote:
This restriction is too vague. We can't simply say what we do not
permit. We
have to also say what we require, otherwise an implementation can only permit
arrays of size < 10. For example, we could say that every
implementation is
required to support arrays of length up to 1/2 of the maximum possible integer.
Or 1/4, or whatever.
Done.

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode2512
doc/go_spec.html:2512: <li>a <a href="#Constants">constant</a> index
must be representable by a non-negative <code>int</code> value
On 2012/12/10 20:36:21, iant wrote:
Perhaps "must be non-negative and must be representable by a value of
type int"?

Done.

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode2516
doc/go_spec.html:2516: Additionally, for <code>a</code> of type
<code>A</code> or <code>*A</code>
On 2012/12/10 20:36:21, iant wrote:
I don't think you want to say "Additionally" here. It doesn't really work with
the fact that this list is not merely restrictions on the index, it also says
what a[x] actually means.
Done.

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode2646
doc/go_spec.html:2646: A <a href="#Constants">constant</a> index must be
representable by a non-negative <code>int</code> value.
On 2012/12/10 20:36:21, iant wrote:
Perhaps "must be representable by a value of type int and must be
non-negative."

Done.

https://codereview.appspot.com/6903048/diff/18001/doc/go_spec.html#newcode4998
doc/go_spec.html:4998: non-negative <code>int</code> value.
On 2012/12/10 20:36:21, iant wrote:
Same change in wording.
Done.

https://codereview.appspot.com/6903048/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 10, '12 at 9:52p
activeDec 10, '12 at 9:52p
posts1
users1
websitegolang.org

1 user in discussion

Gri: 1 post

People

Translate

site design / logo © 2023 Grokbase