chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #32: get tinyclos egg for chicken 4 to work


From: Chicken Trac
Subject: [Chicken-janitors] Re: #32: get tinyclos egg for chicken 4 to work
Date: Mon, 09 Nov 2009 10:43:29 -0000

#32: get tinyclos egg for chicken 4 to work
------------------------+---------------------------------------------------
 Reporter:  felix       |       Owner:  tonysidaway
     Type:  defect      |      Status:  assigned   
 Priority:  major       |   Milestone:             
Component:  extensions  |     Version:  4.0.5      
 Keywords:  tinyclos    |  
------------------------+---------------------------------------------------

Comment(by felix):

 Replying to [comment:11 tonysidaway]:
 > I have rewritten define-method to expand to a corresponding add-method.
 This throws an appropriate error if the generic has not already been set
 up.  With appropriate "define-generic" calls, the example code now
 executes without error messages.  I need to set up a proper test suite for
 this but I think we're out of the woods.

 Well done, Tony! The dual nature of `define-method` is indeed problematic.
 I found it convenient not having to define the generic, but this gets
 problematic with the module system. I guess, simply requiring the `define-
 generic` is the correct way.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/32#comment:12>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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