# gap record

Hello,

I would like to manipulate gap records (association name -> value) through sage... but it does not seem available. Here is a sample from GAP

```
gap> rec( a := 1, b := "deux" );
rec( a := 1, b := "deux" )
gap> r.a;
1
gap> r.b;
"deux"
```

But in Sage

```
sage: w = gap('rec( a := 1, b := "deux" );')
sage: w
rec(
a := 1,
b := "deux" )
sage: w.a
a
sage: w.b
b
```

Which is very strange!! Hopefully, it is still possible to do

```
sage: gap("{}.a".format(w._name))
1
sage: gap("{}.b".format(w._name))
deux
```

Is there a better way to deal with them?

Thanks Vincent

GAP 4.7.7 (February 2015) fixed a bug where recursive records might be printed with the wrong component name, coming from component names being ordered differently in two different pieces of code (see here). Could this be related? Is this reproducible with GAP 4.7.7 or 4.7.8?