unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
@ 2008-04-30  7:25 Ludovic Courtès
  2010-04-16 15:40 ` Stefan Israelsson Tampe
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2008-04-30  7:25 UTC (permalink / raw)
  To: Ludovic Courtès, bug-guile


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

                 Summary: SRFI-1 `drop-right' and `take-right' don't work
with dotted lists
                 Project: Guile
            Submitted by: civodul
            Submitted on: Wednesday 04/30/2008 at 07:25
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

SRFI-1 `drop-right' and `take-right' don't work with dotted lists (as of
1.8.4), but they should.

Original report: http://thread.gmane.org/gmane.lisp.guile.devel/7196 .

Ludovic.




    _______________________________________________________

Reply to this item at:

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

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





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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2008-04-30  7:25 [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists Ludovic Courtès
@ 2010-04-16 15:40 ` Stefan Israelsson Tampe
  2011-07-15 13:14   ` Stefan Israelsson Tampe
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Israelsson Tampe @ 2010-04-16 15:40 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, bug-guile


Follow-up Comment #1, bug #23112 (project guile):

I attached a file take.scm for a proposed fix of this issue.

I Will make a few tests that verify it's functioning and post it as well. but
before that I will wait for eventual comments.

(file #20239)
    _______________________________________________________

Additional Item Attachment:

File name: take.scm                       Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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





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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2010-04-16 15:40 ` Stefan Israelsson Tampe
@ 2011-07-15 13:14   ` Stefan Israelsson Tampe
  2011-08-06  9:02     ` JackBenny
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Israelsson Tampe @ 2011-07-15 13:14 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, bug-guile

Follow-up Comment #2, bug #23112 (project guile):

Note, the proposed code in take.scm below does not work for circular lists.

    _______________________________________________________

Reply to this item at:

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

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




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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2011-07-15 13:14   ` Stefan Israelsson Tampe
@ 2011-08-06  9:02     ` JackBenny
  2011-08-06  9:02       ` JackBenny
  0 siblings, 1 reply; 9+ messages in thread
From: JackBenny @ 2011-08-06  9:02 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, JackBenny,
	bug-guile

Follow-up Comment #3, bug #23112 (project guile):

Ashwood University <http://twitter.com/ashwooduni>


    _______________________________________________________

Reply to this item at:

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

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




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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2011-08-06  9:02     ` JackBenny
@ 2011-08-06  9:02       ` JackBenny
  2011-08-06  9:03         ` JackBenny
  0 siblings, 1 reply; 9+ messages in thread
From: JackBenny @ 2011-08-06  9:02 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, JackBenny,
	bug-guile

Follow-up Comment #4, bug #23112 (project guile):

Corllins University <http://affiliates.universaldegrees.com/>


    _______________________________________________________

Reply to this item at:

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

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




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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2011-08-06  9:02       ` JackBenny
@ 2011-08-06  9:03         ` JackBenny
  2011-08-06  9:03           ` JackBenny
  0 siblings, 1 reply; 9+ messages in thread
From: JackBenny @ 2011-08-06  9:03 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, JackBenny,
	bug-guile

Follow-up Comment #5, bug #23112 (project guile):

Nation High School <http://www.nhsverification.com/>


    _______________________________________________________

Reply to this item at:

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

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




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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2011-08-06  9:03         ` JackBenny
@ 2011-08-06  9:03           ` JackBenny
  2011-08-06  9:04             ` JackBenny
  0 siblings, 1 reply; 9+ messages in thread
From: JackBenny @ 2011-08-06  9:03 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, JackBenny,
	bug-guile

Follow-up Comment #6, bug #23112 (project guile):

Rochville University <http://www.buy-a-diploma.com/>


    _______________________________________________________

Reply to this item at:

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

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




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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2011-08-06  9:03           ` JackBenny
@ 2011-08-06  9:04             ` JackBenny
  2011-08-12 21:31               ` Andy Wingo
  0 siblings, 1 reply; 9+ messages in thread
From: JackBenny @ 2011-08-06  9:04 UTC (permalink / raw)
  To: Ludovic Courtès, Stefan Israelsson Tampe, JackBenny,
	bug-guile

Follow-up Comment #7, bug #23112 (project guile):

Universal Degrees <http://affiliatesdirectory.com/links/detail.cgi?ID=18169>


    _______________________________________________________

Reply to this item at:

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

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




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

* [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists
  2011-08-06  9:04             ` JackBenny
@ 2011-08-12 21:31               ` Andy Wingo
  0 siblings, 0 replies; 9+ messages in thread
From: Andy Wingo @ 2011-08-12 21:31 UTC (permalink / raw)
  To: Ludovic Courtès, Andy Wingo, Stefan Israelsson Tampe,
	JackBenny, bug-guile

Update of bug #23112 (project guile):

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

    _______________________________________________________

Follow-up Comment #8:

Thank you for the patch and follow-up, Stefan!  And apologies for the late
reply.  In the end I ended up committing something else, taking the
implementation from http://srfi.schemers.org/srfi-1/srfi-1-reference.scm.  It
too does not deal well with circular lists.  Oh well, though -- doesn't seem
to be a big deal.

Cheers,

Andy

    _______________________________________________________

Reply to this item at:

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

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




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

end of thread, other threads:[~2011-08-12 21:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30  7:25 [bug #23112] SRFI-1 `drop-right' and `take-right' don't work with dotted lists Ludovic Courtès
2010-04-16 15:40 ` Stefan Israelsson Tampe
2011-07-15 13:14   ` Stefan Israelsson Tampe
2011-08-06  9:02     ` JackBenny
2011-08-06  9:02       ` JackBenny
2011-08-06  9:03         ` JackBenny
2011-08-06  9:03           ` JackBenny
2011-08-06  9:04             ` JackBenny
2011-08-12 21:31               ` 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).