Excellent, thank you very much.



On Tue, 1 Feb 2022, Christopher Jefferson wrote:

> Hi Tim,
> 
> Yes, you can use "RecNames".
> 
> Note that this list can be in a different order each time you run GAP, so I 
> usually write "Set(RecNames(r))", to make sure my code always goes through 
> the keys in alphabetical order.
> 
> Chris 
> 
> -----Original Message-----
> From: tk...@math.bu.edu <tk...@math.bu.edu> 
> Sent: 31 January 2022 22:05
> To: forum@gap-system.org
> Subject: [GAP Forum] keys from a Dictionary
> 
> 
> Is there command to return all the 'key' values from a Dictionary as a List 
> or Set?
> 
> Thanks.
> 
>       -Tim
> 
> _______________________________________________
> Forum mailing list
> Forum@gap-system.org
> https://mail.gap-system.org/mailman/listinfo/forum
> 


_______________________________________________
Forum mailing list
Forum@gap-system.org
https://mail.gap-system.org/mailman/listinfo/forum

Reply via email to