The Go programming language
Go to file
Robert Griesemer 7231ceb714 Proposal for new function type syntax as suggested by ken:
- removed "func" from function type
- make it work by changing composite literal syntax to use {} instead of ()

FunctionType is now more in line with the rest of the declarations, as the
keyword "func" is now really part of the declaration and not part of the type.

R=r,ken
DELTA=49  (14 added, 12 deleted, 23 changed)
OCL=14864
CL=14955
2008-09-08 15:01:04 -07:00
doc Proposal for new function type syntax as suggested by ken: 2008-09-08 15:01:04 -07:00
include fix go build 2008-08-04 17:26:24 -07:00
lib help management of empty pkg and lib directories in perforce 2008-07-21 17:10:49 -07:00
pkg help management of empty pkg and lib directories in perforce 2008-07-21 17:10:49 -07:00
src bug with struct literal with metods 2008-09-08 13:10:11 -07:00
test T{} syntax for constructors 2008-09-05 19:50:34 -07:00
usr/gri/gosrc - adjust my code and tests to new function syntax 2008-09-08 13:26:52 -07:00