~subsetpark/fugue

ref: 3b9b508f647281a2eaea409e2fdc37a974406780 fugue/test-support/b.janet -rw-r--r-- 170 bytes
3b9b508f — Zach Smith Add test case for fugue/#4 7 months ago
                                                                                
1
2
3
4
5
6
7
8
(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))