We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 246d049 + 2b4034b commit 9921e1fCopy full SHA for 9921e1f
src/MacroTools.jl
@@ -19,11 +19,10 @@ include("examples/forward.jl")
19
const animals = Symbol[]
20
const animals_file = joinpath(@__DIR__, "..", "animals.txt")
21
22
-function __init__()
23
- _animals = split(read(animals_file, String))
24
- resize!(animals, length(_animals))
25
- animals .= Symbol.(lowercase.(_animals))
26
- Compat.Random.shuffle!(animals)
27
-end
+# Load and initialize animals symbols.
+_animals = split(read(animals_file, String))
+resize!(animals, length(_animals))
+animals .= Symbol.(lowercase.(_animals))
+Compat.Random.shuffle!(animals)
28
29
end # module
0 commit comments