[GAP Forum] keys from a Dictionary
tkohl at math.bu.edu
tkohl at math.bu.edu
Tue Feb 1 14:25:49 GMT 2022
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: tkohl at math.bu.edu <tkohl at math.bu.edu>
> Sent: 31 January 2022 22:05
> To: forum at 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 at gap-system.org
> https://mail.gap-system.org/mailman/listinfo/forum
>
More information about the Forum
mailing list