Ah I see.. thanks!! I guess old (pythony) habits die hard...
On Thursday, November 20, 2014 11:37:42 AM UTC+1, John Myles White wrote: > > 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] > <javascript:>> 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: > > > > <https://lh5.googleusercontent.com/-72imxyBEFLI/VG3DLOwHKdI/AAAAAAAAJ84/02K0j-5J4D8/s1600/Screenshot%2Bfrom%2B2014-11-20%2B11%3A31%3A22.png> > > Does anyone know why this is happening? Am I doing something illegal here? > > Thanks! > -Kris > > >
