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.6.0 (latest)
Published
Jan 7, 2024
Platform
linux/amd64
Last checked
1 month ago

Tools for package owners.