Undo char-name
HernĂ¡n Ibarra Mejia via Chicken-users <[email protected]> Thu, 25 Jun 2026 16:28:12 +0100
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Is there a way to undefine character names defined with `char-name`? Or at =
least
keep them local to a module?
To avoid XY problem:
I am writing an reader extension and a characters like #\(, #\[, #\{
frequently appear inside case-statements. They are confusing my text edit=
or.
Nothing I've came up with is satisfactory.
- variables cannot cannot be used as data in case-statements
- ASCII/Unicode representations hamper readability.
- Character names defined with `char-name` leak outside my module.
I'm fairly new to CHICKEN so forgive me if I overlooked something obvious.
Cheers,
Hern=C3=A1n