This is the mail archive of the kawa@sourceware.org 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] |
OK requiring 'http works for me, too.
However, the original bug (builtin functions that produce HTML don't work with higher-order functions) is still there for me. For example:
;; -*- scheme -*- (require 'http) (apply html:b '("bold this " "and this ")) ; works (list (html:b "also this ") (html:b "this too ")) ; works (map html:b '("bold 1" "bold2")) ; fails. gives: jndi:/mon.dev.biographicon.com/temp2:7:1: called value is not a procedure #\newline
If I comment out that last line the servlet works as expected. So apply is working with html:b but map is not. This is with the latest snapshot.
This is a consequence of the "generalized apply" - we now allow application of types, vectors, and more. But the code-path taken when compiling map doesn't handle this. Disabling the error message (and just return the exp unmodified) causes a failure later. I'll look into it. -- --Per Bothner per@bothner.com http://per.bothner.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |