package sum

import "github.com/mmcloughlin/avo/examples/sum"

Package sum sums a slice in avo.

Index

Functions

func Sum

func Sum(xs []uint64) uint64

Sum returns the sum of the elements in xs.

Source Files

doc.go stub.go

Version
v0.2.0
Published
Apr 19, 2021
Platform
windows/amd64
Last checked
1 month ago

Tools for package owners.