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