On Thu, Jan 4, 2024 at 6:36 AM Damien Mattei <damien.mat...@gmail.com> wrote: > > thank you very much Tomas, > it solved my problem: > (symbol->keyword (list->symbol .... > me too i was digging the manual for 2 hours :-) > Damien > note: seems a bit weird anyway that guile react differently in this case > than Kawa and Racket
Guile's behavior makes sense to me. #{...}# is syntax for symbols, not keywords. Symbols can contain any arbitrary characters. Starting a symbol with "#:" doesn't make it a keyword. Would you expect (string->symbol "#:hello") to return a keyword? I wouldn't. - Dave