[racket] Racket/class, inherit-field all

From: Roman Klochkov (kalimehtar at mail.ru)
Date: Tue Apr 1 05:43:55 EDT 2014

 Is there a way to inherit all fields ?

For example

(define a (class object% (super-new) (field f1 f2 f3)))

(define b (class a (super-new) (field f4 f5 f6)))

(define c (class b (super-new) (inherit-field f1 f2 f3 f4 f5 f6)))

How to avoid manual enumeration of all f1 ... f6?

-- 
Roman Klochkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140401/6057b15f/attachment.html>

Posted on the users mailing list.