Homepage
Recent Changes
Search:
History of 2015-08-01 case-intern trick
2015-08-01
11:53 UTC
Revision 1
. . . .
Marcin Borkowski
–
When coding in Elisp, sometimes it happens that you want to branch depending on the value of some variable, which can hold a few possible values. The C way would be to use an enum; the lispy way is to use symbols and case. However, sometimes you have strings and not symbols.