The first function inflog.Println is not even being called. It is being 
passed to the function tract as an argument. And the result of function 
trace is being sent to another call to function inflog.Println.

The result of function trace is a struct which has a String method and the 
the String method will be called only when the function inflog.Println is 
actually being executed - this simulates a lazy evaluation.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to