chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] [Chicken-bugs] #442: define-foreign-record and SRFI 1


From: Chicken Scheme
Subject: [Chicken-janitors] [Chicken-bugs] #442: define-foreign-record and SRFI 17 (generalized set!)
Date: Wed, 29 Oct 2008 17:39:32 -0000

#442: define-foreign-record and SRFI 17 (generalized set!)
-------------------------------------+--------------------------------------
 Reporter:  p1 <address@hidden>  |        Type:  defect                       
   Status:  new                      |    Priority:  minor                      
  
Milestone:                           |   Component:  compiler                   
  
  Version:  3.0.0                    |    Keywords:  srfi-17 
define-foreign-record
-------------------------------------+--------------------------------------
 After

 `(define-foreign-record foo (int bar))`

 it is possible to change the bar value of a foo instance with

 `(foo-bar-set! instance x)`

 but currently __not__ with

 `(set! (foo-bar instance) x)`

 which is unexpected, as Chicken generally supports SRFI 17.


 I have attached a test case and a unified diff against svn address@hidden

-- 
Ticket URL: <http://trac.callcc.org/ticket/442>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]