Anonymous user
Catamorphism: Difference between revisions
m
→{{header|Go}}: Condense code
m (→{{header||Go}}: Typo) |
m (→{{header|Go}}: Condense code) |
||
Line 191:
func add(a int, b int) int { return a+b }
func sub(a int, b int) int { return a-b }
func mul(a int, b int) int { return a*b }
|