Search found 271 matches
- Sun Jun 17, 2012 6:58 am
- Forum: Homework
- Topic: Use assoc with argument of type string
- Replies: 2
- Views: 7824
Re: Use assoc with argument of type string
Because CL is internally case-sensitive and ordinary symbols (without vertical bars) are in upper case. Thus this will work: (assoc (intern "A") base-list) Furthermore an ordinary symbol can't have digit chars at beginning. The cons (2 . C) can be got by: (assoc 2 base-list) // Result of (...