Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ee37b57f784742d55f5a4d302103f2b1c742bb79
Ticket: 1143805fffffffffffffffffffffffffffffffff
Impurity of empty [list]
User & Date: dgp on 2005-02-19 04:13:18
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    IMHO...
    
    There is a bug here, but not the one
    you report.
    
    The bug is that floating point values
    don't make the internal -> string ->
    internal round trip without losing
    precision; in violation of "everything
    is a string".  That's a known bug in
    Tcl (not sure whether there's a SF
    Tracker ID for it), and the work on
    TIP 132 should eventually solve it.
    
    With that bug fixed, the difference
    in your two commands will
    disappear, and the "no script-level
    programmer should have to care
    about internal reps, 'pure' or
    otherwise" advice will actually become
    true.
    
    Far too many Tcl'ers are 
    preoccupied with "pure" representations
    and other internals details.
    Tcl ought to "just work" without
    requiring Tcl'ers to become C hackers.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"