bugGuile - Bugs: bug #31681, string-filter argument order...

 
 

bug #31681: string-filter argument order doesn't match SRFI-13

Submitter:  G. Weinholt <weinholt>
Submitted:  Wed 17 Nov 2010 01:15:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 19 Nov 2010 04:05:19 PM UTC, comment #1: 

Fixed in git. Thanks for the report!

Andy Wingo <wingo>
Group administrator
Wed 17 Nov 2010 01:15:30 PM UTC, original submission:  

This is the order of arguments given by SRFI-13:

 string-filter char/char-set/pred s [start end] -> string
 string-delete har/char-set/pred s [start end] -> string

This is the order used by Guile:

 -- Scheme Procedure: string-filter s char_pred [start [end]]
 -- Scheme Procedure: string-delete s char_pred [start [end]]

I think it would be good if the srfi-13 module used the standard argument order.

G. Weinholt <weinholt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wingo (Posted a comment)
  • -email is unavailable- added by weinholt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-19 wingo StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code