bugGuile - Bugs: bug #23112, SRFI-1 `drop-right' and...

 
 

bug #23112: SRFI-1 `drop-right' and `take-right' don't work with dotted lists

Submitted by:  Ludovic Courtès <civodul>
Submitted on:  Wed 30 Apr 2008 07:25:31 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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 12 Aug 2011 09:31:50 PM UTC, comment #3: 

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

Andy Wingo <wingo>
Project Administrator
  Spam posted by jackbenny
  Spam posted by jackbenny
  Spam posted by jackbenny
  Spam posted by jackbenny
  Spam posted by jackbenny
Fri 15 Jul 2011 01:14:24 PM UTC, comment #2: 

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

Stefan Israelsson Tampe <tampe>
Project Member
Fri 16 Apr 2010 03:40:29 PM UTC, comment #1: 

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)

Stefan Israelsson Tampe <tampe>
Project Member
Wed 30 Apr 2008 07:25:31 AM UTC, original submission:  

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.

Ludovic Courtès <civodul>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #20239:  take.scm added by tampe (656B - application/octet-stream)

 

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 jackbenny (Posted a comment)
  • -email is unavailable- added by tampe (Updated the item)
  • -email is unavailable- added by civodul (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-12 wingo StatusNone => Fixed
        Open/ClosedOpen => Closed
    2010-04-16 tampe Attached File- => Added take.scm, #20239

    Back to the top


    Powered by Savane 3.7