Ticket #6620 (closed enhancement: fixed)
[with patch, positive review] add a method to the Gap class to access elements of records
| Reported by: | saliola | Owned by: | was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1.2 |
| Component: | interfaces | Keywords: | |
| Cc: | nborie, wdj | Author(s): | Franco Saliola |
| Report Upstream: | Reviewer(s): | David Joyner, Minh Van Nguyen | |
| Merged in: | Sage 4.1.2.alpha0 | Work issues: |
Description
Accessing elements of GAP records should be easier.
sage: rec = gap('rec( a := 1, b := "2" )')
sage: gap.get_record_element(rec, 'a')
1
sage: gap.get_record_element(rec, 'b')
2
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

