[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: case-lambda* question
From: |
A. Arias |
Subject: |
Re: case-lambda* question |
Date: |
Tue, 13 Nov 2012 18:55:38 -0600 |
El mar, 13-11-2012 a las 10:46 +0800, Daniel Hartwig escribió:
>
> However, trying to call with three arguments then triggers an error,
> and I am not sure why:
>
> scheme@(guile-user)> (g 1 2 3)
> <unnamed port>:46:1: In procedure g:
> <unnamed port>:46:1: In procedure #<procedure g (a #:key x) | (a b c
> #:key x)>: Invalid keyword
>
> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
> scheme@(guile-user) [1]> ,bt
> In current input:
> 46:1 0 (g 1 #<undefined> 2 3)
>
> Definitely you need to rearrange the clauses. About this error, I don't know!
>
> Regards
>
This should be a bug. I tried with the example at test tree-il.test
(line 1073) but I get the same error. Unfortunately I can't run the
guile-test, I get the error:
In ice-9/boot-9.scm:
2681: 3 [define-module* (test-suite guile-test) #:filename ...]
2656: 2 [resolve-imports ((#) (#) (#) (#) ...)]
2597: 1 [resolve-interface (test-suite lib) #:select ...]
In unknown file:
?: 0 [scm-error misc-error #f "~A ~S" ("no code for
module" (test-suite lib)) #f]
ERROR: In procedure scm-error:
ERROR: no code for module (test-suite lib)