Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a695eaaa286c2fdbf8b85057d23cc34eff90182d100cf4a0f785dd80777b7d6d
Ticket: 999b6966b29915bf9e3754969e5521e7573dc667
lseq has incorrect results in edge cases
User & Date: oehhar on 2025-11-28 09:32:42
Changes

  1. icomment:
    Changed the ticket title to also describe the bug, that the start element is not returned on some step values.
    
    It might be better, if the start element is always returned.
    
    A step value of 0 leads theoretically to an endles sequence.
    It might lead to an error or return the empty list in all cases.
    
    And documentation can always be improved...
    
    Thanks,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. title changed to:
    lseq should return start element independent of step, doc mismatch for sign not agreeing with seq direction
    
  5. username: "oehhar"