master
CrossNox 3 years ago
parent c915f77539
commit 28227e844e
  1. 2
      src/rustint/core.clj

@ -2164,7 +2164,7 @@
; true
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defn compatibles? [rtype arg]
(let [rtypes (hash-map 'i64 integer?, 'f64 float?), func (get rtypes rtype)]
(let [rtypes (hash-map 'i64 integer?, 'f64 float?, 'String string?), func (get rtypes rtype)]
(or (vector? arg) (func arg))
)
)

Loading…
Cancel
Save