~subsetpark/fugue

ref: e0eb7d7756b153b0787201f6a2b375c7d87dfd3e fugue/test-support/b.janet -rw-r--r-- 208 bytes
e0eb7d77 — Zach Smith Sample invocation of maclintf 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
(use /fugue)
(import /test-support/a)

(extend-multi a/f [:number] [n] (inc n))

(defproto B a/A child-attr {:allocation :prototype})

(defmulti g [:number] [n] (+ n 2))

(extend-multi a/h [B] [b] (b :name))