This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Getting rid of the "edit-compile-run-cycle" for Kawa
- From: "Ethan Herdrick" <info at reatlas dot com>
- To: "Per Bothner" <per at bothner dot com>, kawa at sourceware dot org
- Date: Tue, 20 May 2008 19:14:07 -0700
- Subject: Re: Getting rid of the "edit-compile-run-cycle" for Kawa
- References: <91f48dbf0805030521lbeebd61ndf166c25f9e73470@mail.gmail.com> <4827EC96.40507@bothner.com> <91f48dbf0805140307l4184622ckb84d33e54f0d6d60@mail.gmail.com> <91f48dbf0805200115s2a183011n5500157e8e93aafe@mail.gmail.com> <48331032.2000701@bothner.com>
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.
On Tue, May 20, 2008 at 10:53 AM, Per Bothner <per@bothner.com> wrote:
> It's seems (require 'http) is required. This works:
>
> ;; -*- scheme -*-
> (require 'http)
> "hello world"
> #\newline
>
> I haven't figured out why yet.
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/
>
--
Ethan Herdrick
www.biographicon.com - Everyone's biography.