bugKawa - Bugs: bug #43750, srfi-2 doesn't work inside r7rs...

 
 

bug #43750: srfi-2 doesn't work inside r7rs library

Submitter:  Seth Alves <sethalves>
Submitted:  Thu 04 Dec 2014 02:27:16 AM UTC
   
 
Category:  Scheme language Severity:  3 - Normal
Item Group:  Run-time exception Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Dec 2014 05:50:30 PM UTC, comment #1: 

Sorry this got drppped.
Fix and test-case checked in.

Per Bothner <bothner>
Group administrator
Thu 04 Dec 2014 02:27:16 AM UTC, original submission:  

This works unless it's used inside an r7rs define-library.

(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)
    ...

Seth Alves <sethalves>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by sethalves (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-21 bothner StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code