This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
srfi-2 vs r7rs
- From: Seth Alves <alves at hungry dot com>
- To: kawa at sourceware dot org
- Date: Fri, 28 Nov 2014 18:16:08 -0800
- Subject: srfi-2 vs r7rs
- Authentication-results: sourceware.org; auth=none
Here's another snippet that works fine unless it's inside define-library.
-seth
(define-library (foo)
(export foo)
(import (scheme base) (srfi 2))
(begin
(define (foo)
(and-let* () 1))))
(import (scheme base)
(scheme write)
(foo))
(foo)
Argument 'kawa.standard.begin@326dff70' to 'apply-to-args' has wrong
type (kawa.standard.begin) (expected: procedure)
at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:165)
at gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)
at foo.foo(kawa-srfi-2.scm:13)
...