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