unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #31681] string-filter argument order doesn't match SRFI-13
@ 2010-11-17 13:15 Göran Weinholt
  2010-11-19 16:05 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Göran Weinholt @ 2010-11-17 13:15 UTC (permalink / raw)
  To: Göran Weinholt, bug-guile


URL:
  <http://savannah.gnu.org/bugs/?31681>

                 Summary: string-filter argument order doesn't match SRFI-13
                 Project: Guile
            Submitted by: weinholt
            Submitted on: Wed Nov 17 14:15:30 2010
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31681>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bug #31681] string-filter argument order doesn't match SRFI-13
  2010-11-17 13:15 [bug #31681] string-filter argument order doesn't match SRFI-13 Göran Weinholt
@ 2010-11-19 16:05 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2010-11-19 16:05 UTC (permalink / raw)
  To: Andy Wingo, Göran Weinholt, bug-guile


Update of bug #31681 (project guile):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Fixed in git. Thanks for the report!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31681>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-19 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 13:15 [bug #31681] string-filter argument order doesn't match SRFI-13 Göran Weinholt
2010-11-19 16:05 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).