Thursday, April 15, 2010

Equalp and the modern world

Its weird how many good ideas designers of common lisp had so long ago. Today I had a problem with the combo not being able to recognise value typed from keyboard if the user entered it too fast. Checked the vendor forums and the issue seemed to be mentioned several times. Luckily the combo provided the raw value entered by user as a string which immediately reminded me of Equalp. Just iterating over the options and comparing their string representation with the raw entered value allowed me to create a quick workaround. Maybe learning lisp doesn't make you worse programmer.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.