(defprotocol Labelled
whatever)
(defprotocol Textfield
whatever-else)
(defprotocol Datetimepicker
something)
(defrecord Label
Labelled
whatever ...)
(defrecord Textbox
Textfield
whatever-else ...)
(defrecord LabelledTextbox
Labelled
whatever ...
Textfield
whatever-else ...)
and so forth, and probably punt to external fns for anything that
would otherwise get duplicated between Textbox and LabelledTextbox, or
between Label and LabelledTextbox, and so forth.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en