examples: add most docstrings
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
func main() {
|
||||
TEXT("Sum", "func(xs []uint64) uint64")
|
||||
Doc("Sum returns the sum of the elements in xs.")
|
||||
ptr := Load(Param("xs").Base(), GP64v())
|
||||
n := Load(Param("xs").Len(), GP64v())
|
||||
s := GP64v()
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
package sum
|
||||
|
||||
// Sum returns the sum of the elements in xs.
|
||||
func Sum(xs []uint64) uint64
|
||||
|
||||
Reference in New Issue
Block a user