~subsetpark/fugue

fugue/test-support/a.janet -rw-r--r-- 223 bytes
55567281 — Zach Smith fix #14 - eval symbol when processing match 1 year, 6 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)