diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 5f9b5e9..fefaa73 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2164,7 +2164,13 @@ ; true ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defn compatibles? [rtype arg] - (let [rtypes (hash-map 'i64 integer?, 'f64 float?, 'String string?), func (get rtypes rtype)] + (let [rtypes ( + hash-map + 'i64 integer?, + 'f64 float?, + 'String string?, + 'bool boolean? + ), func (get rtypes rtype)] (or (vector? arg) (func arg)) ) )