Jesús Padilla
Usenet Archive
- Joined
- Aug 18, 2003
- Messages
- 29
- Reaction score
- 0
I have the next list:
'('("Table" . 45) '("Door" . 28) '("Star" . 56) '("Block" . 45) '("Floor" .
28) '("Wall" . 56))
and I need the next
'('(45 . "Table" "Block") '(28 . "Door" "Floor") '(56 . "Wall" "Star"))
In the fisr list I have many assoc. Example: '("String" . Integer)
In the second list I want to make new associations using the integer on the first element and append all the string that are associated with the same integer on the first list. Example: '(Integer . "String1" "String2")
I have tried APPEND and CONS but it doesn´t work
I Will Appreciate any help about.
JPadilla
'('("Table" . 45) '("Door" . 28) '("Star" . 56) '("Block" . 45) '("Floor" .
28) '("Wall" . 56))
and I need the next
'('(45 . "Table" "Block") '(28 . "Door" "Floor") '(56 . "Wall" "Star"))
In the fisr list I have many assoc. Example: '("String" . Integer)
In the second list I want to make new associations using the integer on the first element and append all the string that are associated with the same integer on the first list. Example: '(Integer . "String1" "String2")
I have tried APPEND and CONS but it doesn´t work
I Will Appreciate any help about.
JPadilla