I am trying to create my own pointer structure for a binary tree. I am starting with this simple code
type int_BST
key::Int64
left::Nullable{int_BST}
right::Nullable{int_BST}
end
but I keep getting the error
ERROR: LoadError: syntax: extra token "int_BST" after end of expression
Stacktrace:
[1] include at ./boot.jl:326 [inlined]
[2] include_relative(::Module, ::String) at ./loading.jl:1038
[3] include(::Module, ::String) at ./sysimg.jl:29
[4] include(::String) at ./client.jl:403
[5] top-level scope at none:0
in expression starting at /data/dass/Julia/int_BST.jl:1
I realize this is a very basic issue, and any help would be appreciated.