This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

srfi-1 on long lists?


Should I expect to get a stack overflow from srfi-1 functions when
dealing with long lists?  For example, here's list-copy:

#|kawa:168|# (length (list-copy (make-list 100000 'a)))
java.lang.StackOverflowError
	at gnu.expr.ModuleBody.applyN(ModuleBody.java:171)
	at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:106)
	at gnu.expr.ModuleMethod.applyV(ModuleMethod.java:134)
	at gnu.expr.GenericProc.applyN(GenericProc.java:70)
	at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
	at gnu.kawa.slib.srfi1.lambda2recur(srfi1.scm:273)
	at gnu.kawa.slib.srfi1.lambda2recur(srfi1.scm:273)
	at gnu.kawa.slib.srfi1.lambda2recur(srfi1.scm:273)
        ...

Regards,
Chris Dean


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]