Re: hashmark in symbols

2023-01-02 Thread Andreas Reuleaux
)) $. display} ) --8<---cut here---end--->8--- which brings me back to the hashmark in symbols issue. - I will shorten the above example to just: --8<---cut here---start->8--- scheme@(guile-user)> (css '((body :ma

Re: hashmark in symbols

2023-01-01 Thread Taylan Kammer
On 02.01.2023 07:25, Andreas Reuleaux wrote: > Ah, OK, this helps indeed > > --8<---cut here---start->8--- > (read-enable 'r7rs-symbols) > --8<---cut here---end--->8--- > Another option would be to use string->symbol: (st

Re: hashmark in symbols

2023-01-01 Thread Andreas Reuleaux
Ah, OK, this helps indeed --8<---cut here---start->8--- (read-enable 'r7rs-symbols) --8<---cut here---end--->8--- Many thanks. -A lloda writes: >> On 2 Jan 2023, at 03:27, Andreas Reuleaux wrote: >> >> > >> b

Re: hashmark in symbols

2023-01-01 Thread lloda
> On 2 Jan 2023, at 03:27, Andreas Reuleaux wrote: > > > but I still have no clue, how to write a simple symbol, that when > translated to a string, results in "#444". https://www.gnu.org/software/guile/manual/guile.html#Symbol-Read-Syntax

hashmark in symbols

2023-01-01 Thread Andreas Reuleaux
Hi, in common lisp I get e.g. --8<---cut here---start->8--- * (format nil "~a" '\#444) "#444" --8<---cut here---end--->8--- (assuming #444 is a css color - that is my use case anyway - and thus likewise for any other color)