fix
This commit is contained in:
parent
67a8c8d4cf
commit
7baae299a6
1 changed files with 3 additions and 9 deletions
|
|
@ -11,17 +11,11 @@
|
||||||
(let [subsets (rest (combo/subsets (seq methods)))]
|
(let [subsets (rest (combo/subsets (seq methods)))]
|
||||||
(reduce (fn [opts classes]
|
(reduce (fn [opts classes]
|
||||||
(assoc opts
|
(assoc opts
|
||||||
(set (cons (list 'quote 'sci.impl.types.IReified)
|
(set (map (fn [[class _]]
|
||||||
(map (fn [[class _]]
|
(list 'quote class))
|
||||||
(list 'quote class))
|
classes))
|
||||||
classes)))
|
|
||||||
(list 'fn ['methods]
|
(list 'fn ['methods]
|
||||||
(list* 'reify
|
(list* 'reify
|
||||||
'sci.impl.types.IReified
|
|
||||||
'(getMethods [this]
|
|
||||||
((get-in methods '[sci.impl.types.IReified getMethods]) this))
|
|
||||||
'(getInterfaces [this]
|
|
||||||
((get-in methods '[sci.impl.types.IReified getInterfaces]) this))
|
|
||||||
(mapcat
|
(mapcat
|
||||||
(fn [[clazz methods]]
|
(fn [[clazz methods]]
|
||||||
(cons clazz
|
(cons clazz
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue