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

 
 

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

Submitted by:  Göran Weinholt <weinholt>
Submitted on:  Wed 17 Nov 2010 01:15:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed in git. Thanks for the report!

Andy Wingo <wingo>
Project 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öran Weinholt <weinholt>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 19 Nov 2010 04:05:19 PM UTCwingoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1