ALBERTO ROCHA
Results
3
comments of
ALBERTO ROCHA
``` package main import ("fmt") func main(){ y := receber() fmt.Println(y(5)) } func receber() func(x int) int{ return func(x int) int{ return x*(x+2) } } ```
https://play.golang.org/p/m0DoaxYkgZV
``` package main import ("fmt") func main(){ y:= func(x string) { fmt.Println("O valor chamado foi:", x) } y("solarizado") } ```