Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b29cf8fd9069725fa28729a85f87d0f37bac831
Ticket: 3048771fffffffffffffffffffffffffffffffff
tailcall constraints chafe with control command procs
User & Date: ferrieux on 2010-08-22 05:31:57
Changes

  1. icomment:
    Note that in such cases the order of execution is sometimes funny, tailcall scheduling something for execution at proc exit, but still disrupting the current sequence within the catch range... (That's just a note, OK once acknowledged)
    
    Also note that an alternative would be 'eventually', that does only the scheduling-at-exit part, not the error code:
    
       proc f {} {
          puts AAA
          eventually g
          puts BBB
       }
    
    so that the current tailcall would be [eventually ...;return]
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"