bugKawa - Bugs: bug #9067, Problem with lset-difference

 
 

bug #9067: Problem with lset-difference

Submitted by:  None
Submitted on:  Sun 23 May 2004 07:04:36 PM UTC  
 
Category: Scheme librarySeverity: 3 - Normal
Item Group: Run-time exceptionStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 30 May 2004 03:30:27 AM UTC, comment #2:

This is fixed in kawa 1.7.90, as well the current CVS sources.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Mon 24 May 2004 03:03:53 AM UTC, comment #1:

I'm the original poster of this bug.

Using the binary distribution kawa-1.7.90.jar doesn't exhibit this problem, so it might be an issue with my compile of Kawa. I'll do some more investigating.

Stephen Peters <portnoy>
Sun 23 May 2004 07:04:36 PM UTC, original submission:

I've uncovered a bug using the SRFI-1 List Library lset-difference function under Kawa 1.7:

lorelei:~> java kawa.repl
#|kawa:1|# (require 'list-lib)
#|kawa:2|# (lset-difference eq? '(a b c) '(a b d))
Invalid parameter, was: null
java.lang.ClassCastException
at gnu.kawa.slib.srfi1$frame62.lambda110(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm:1478)
at gnu.kawa.slib.srfi1$frame62.apply1(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm)
at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:85)
at gnu.kawa.slib.srfi1.every$V(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm:1349)
at gnu.kawa.slib.srfi1$frame61.lambda109(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm:1478)
at gnu.kawa.slib.srfi1$frame61.apply1(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm)
at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:85)
at gnu.kawa.slib.srfi1$frame28.lambda64recur(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm:1002)
at gnu.kawa.slib.srfi1.filter(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm:998)
at gnu.kawa.slib.srfi1.lsetDifference$V(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm:1477)
at gnu.kawa.slib.srfi1.applyN(/projects/iroom/hci/metaglue/playground.svn/Languages/kawa/kawa-1.7/gnu/kawa/slib/srfi1.scm)
at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:105)
at gnu.mapping.Procedure.apply(Procedure.java:102)
at gnu.mapping.CallContext.runUntilDone(CallContext.java:258)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:188)
at kawa.Shell.run(Shell.java:232)
at kawa.Shell.run(Shell.java:180)
at kawa.Shell.run(Shell.java:167)
at kawa.Shell.run(Shell.java:154)
at kawa.repl.main(repl.java:609)
#|kawa:3|#

I couldn't find this problem anywhere else. The definition of lset-difference looks fine, and I wasn't able to identify the problem by delving through the Scheme code.

Anonymous

 

(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

 

CC list is empty

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 30 May 2004 03:30:27 AM UTCbothnerStatusNone=>Fixed
  Assigned toNone=>bothner
  Open/ClosedOpen=>Closed
Sun 23 May 2004 07:19:54 PM UTCportnoyCarbon-Copy-=>Added portnoy --AT-- portnoy --DOT-- org

Back to the top


Powered by Savane 3.1-cleanup1