RosettaCodeData/Task/Inheritance-Single/Clojure/inheritance-single-6.clj

10 lines
253 B
Clojure

;;; ASN.1 serialization logic specialized for animal class
(defmethod serialize-to-asn-1 ((a animal))
#| ... |#
)
;;; casually introduce the method over strings too; no relation to animal
(defmethod serialize-to-asn-1 ((s string))
#| ... #|
)