Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aa7e2e0c3ecd12ff2357a4e0032acb1bb4cb7a55
Ticket: c26b188f68141f6a88627a6d72df9bd3bdd5cb2a
Make yieldm argument optional.
User & Date: sbron on 2014-08-27 11:55:56
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The yieldm proc proposed in the yieldto manual page is recommended as a version of yield that allows resumption with multiple arguments. However the value argument of yield is optional. It would make sense to do the same with yieldm. So the command would look like:
    
    proc yieldm {{value ""}} {
        yieldto return -level 0 $value
    }
    
  5. foundin changed to: "8.6.2"
  6. is_private changed to: "0"
  7. login: "sbron"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "e6e0da3db38bd7f7aaef501760314ad0221f3e23"
  10. resolution changed to: "None"
  11. severity changed to: "Cosmetic"
  12. status changed to: "Open"
  13. submitter changed to: "sbron"
  14. subsystem changed to: "60. NRE and coroutines"
  15. title changed to: "Make yieldm argument optional."
  16. type changed to: "RFE"