Hi Chris, Good point. Having thought about it a little, I think with multimethods I'd use the following design:
- render-view*, render-summary* and render-edit* replaced by render* taking a singleton symbol (view, summary, edit) - render-list takes this symbol instead of a quotation In this case, I could certainly use multi-methods for render-list. I'm looking forward to having multi-methods in the core :-) Slava On Apr 22, 2008, at 7:18 PM, Chris Double wrote: > Maybe use multimethods to get rid of the case and the > render-plain-list, render-ordered-list, etc? Or does this interfere > with the need to inline the code since it uses quotations? The fry > stuff does make it look nice. > > Chris. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
