master
CrossNox 3 years ago
parent b93380b56c
commit 7d7339c490
  1. 2
      src/rustint/core.clj

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

Loading…
Cancel
Save