Anonymous user
First-class functions: Difference between revisions
m
→{{header|Go}}
(added Go) |
m (→{{header|Go}}) |
||
Line 343:
// Go doesn't have generics; this compose function just composes float functions
func compose(f
return func(x float64) float64 {
return f(g(x))
|