Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
0660d243
Commit
0660d243
authored
Nov 16, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ElementType consistently.
Fixes #173. R=r, rsc, r1
https://golang.org/cl/154156
parent
ef46a9dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
go_spec.html
doc/go_spec.html
+4
-5
No files found.
doc/go_spec.html
View file @
0660d243
...
...
@@ -966,7 +966,7 @@ type File interface {
<p>
A map is an unordered group of elements of one type, called the
value
type, indexed by a set of unique
<i>
keys
</i>
of another type,
element
type, indexed by a set of unique
<i>
keys
</i>
of another type,
called the key type.
A map value may be
<code>
nil
</code>
.
...
...
@@ -975,7 +975,6 @@ A map value may be <code>nil</code>.
<pre
class=
"ebnf"
>
MapType = "map" "[" KeyType "]" ElementType .
KeyType = Type .
ValueType = Type .
</pre>
<p>
...
...
@@ -1030,9 +1029,9 @@ A value of channel type may be <code>nil</code>.
<pre
class=
"ebnf"
>
ChannelType = Channel | SendChannel | RecvChannel .
Channel = "chan"
Value
Type .
SendChannel = "chan" "
<
-"
Value
Type .
RecvChannel = "
<
-" "chan"
Value
Type .
Channel = "chan"
Element
Type .
SendChannel = "chan" "
<
-"
Element
Type .
RecvChannel = "
<
-" "chan"
Element
Type .
</pre>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment