Fork me on GitHub
#babashka
<
2021-09-26
>
bherrmann00:09:59

Is this normal?

$ bb 
Babashka v0.6.1 REPL.
Use :repl/quit or :repl/exit to quit the REPL.
Clojure rocks, Bash reaches.

user=> (ns-imports *ns*)
{NullPointerException java.lang.NullPointerException, Class java.lang.Class, Runtime java.lang.Runtime, Object java.lang.Object, Process java.lang.Process, Double java.lang.Double, String java.lang.String, IllegalArgumentException java.lang.IllegalArgumentException, Iterable java.lang.Iterable, System java.lang.System, NumberFormatException java.lang.NumberFormatException, Throwable java.lang.Throwable, ClassNotFoundException java.lang.ClassNotFoundException, InterruptedException java.lang.InterruptedException, Thread java.lang.Thread, Boolean java.lang.Boolean, BigInteger java.math.BigInteger, IndexOutOfBoundsException java.lang.IndexOutOfBoundsException, Math java.lang.Math, Comparable java.lang.Comparable, Integer java.lang.Integer, File java.io.File, Short java.lang.Short, StackTraceElement java.lang.StackTraceElement, Number java.lang.Number, Character java.lang.Character, Exception java.lang.Exception, ProcessBuilder java.lang.ProcessBuilder, BigDecimal java.math.BigDecimal, Float java.lang.Float, CharSequence java.lang.CharSequence, StringBuilder java.lang.StringBuilder, ArithmeticException java.lang.ArithmeticException, Long java.lang.Long, IllegalStateException java.lang.IllegalStateException, RuntimeException java.lang.RuntimeException, Appendable java.lang.Appendable, AssertionError java.lang.AssertionError, Byte java.lang.Byte}

Bob B01:09:14

looks pretty close to what I have

borkdude07:09:06

What is not normal about this?

bherrmann23:09:35

ok, I guess I saw NullPointerException come up first in the list, so I assumed smething was going afoul - had not occured to me that it is simply importing the class first.... well, its a set, so it happens to be first in the set...

borkdude07:09:36

It’s a map. Maps are unordered.