Symbols
Symbols are the basic blocks of expressions. They are used for concatenating two strings together. They are also used as interned strings while building expressions.
Getting ready
There aren't any major requirements for this chapter. The only requirement is that your Julia REPL should be up and running.
How to do it...
Symbols can take in some arguments and then return the concatenated string of the string representations of those arguments. This is an example of how you can do it in the REPL:
symbol("FirstName", "LastName")
The output of the preceding command would look like this:
symbol("FirstName", 45)
The output of the preceding command would look like this:
symbol("Foo", :Bar, 86)
The output of the preceding command would look like:
Symbols create interned strings that are used for building expressions. An interned string is an immutable string that is used during string processing for optimizing time and space. The character :
is used...