Posted to tcl by kostix at Mon Apr 07 00:32:54 GMT 2008view raw

  1. % set a {b {puts [apply $b]}}
  2. b {puts [apply $b]}
  3.  
  4. % set b {{} {puts "I'm second lambda"}}
  5. {} {puts "I'm second lambda"}
  6.  
  7. % apply $a $b
  8. I'm second lambda
  9.