~subsetpark/fugue

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

(declare-open-multi f)

(defproto A nil base-attr {:allocation :prototype})

(defmulti g [:string] [s] (string s "!"))

(declare-open-multi h)
(extend-multi h [:number] [n] (inc n))
(extend-multi h [_] [v] v)