Example #1
0
func min(xs []float64) float64 {
	return functional.Fold(math.Min, xs)
}
Example #2
0
func max(xs []float64) float64 {
	return functional.Fold(math.Max, xs)
}