devn / getclojure

Search for Clojure examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should values like [B, [Ljava.lang.String etc. make it through to search?

devn opened this issue · comments

{:input "(type (make-array String 10))", :value "[Ljava.lang.String;", :output "\"\""}

Currently (3.0.0), we attempt to use zprint with the parse-string option on the value of the above expression to format it so long as the value does not end with "..." (a truncated result). This has the upside of printing values like nested vectors more readable, but means that primitive return types don't make it through to search.

One option is to simply stop attempting to parse the string via zprint. I need to think more about this.