my_dict.keys isn't giving you the keys of your dictionary. It's giving you the 
internal structure of a data structure.

Try keys(my_dict).

As we sometimes say, Julia isn't a dot-oriented language. Dots only give you 
access to the fields of structs.

 -- John

On Nov 20, 2014, at 10:35 AM, Kristian Holsheimer 
<[email protected]> wrote:

> Hi there,
> 
> I was wondering if someone's encountered the following behavior before. I'd 
> like to define a nested dictionary, e.g.   my_dict = ["a" => ["A" => 
> "alpha"]] 
> 
> Now, when I look at the keys of  my_dict , I get:
> 
> 
> 
> 
> 
> Does anyone know why this is happening? Am I doing something illegal here?
> 
> Thanks!
> -Kris

Reply via email to