Re: Unexpected (read "...") behavior

2021-01-14 Thread Erik Gustafson
Hi Alex, Ah, yes that makes sense now. Thanks for clarifying! On Thu, Jan 14, 2021 at 2:05 AM Alexander Burger wrote: > Hi Erik, > > > It seems that symbols beginning with (or consisting only of) '+' are not > > parsed as > > a continuous (internal) symbol name. > > > > But everything works as

Re: Unexpected (read "...") behavior

2021-01-14 Thread Alexander Burger
Hi Erik, > It seems that symbols beginning with (or consisting only of) '+' are not > parsed as > a continuous (internal) symbol name. > > But everything works as expected with '*': This is intended. The same happens with '-' BTW. The reason is that these two characters may also denote the sign

Unexpected (read "...") behavior

2021-01-13 Thread Erik Gustafson
Hi Alex, This caught me by surprise: : (pipe (prin "(++ someList)") (make (while (read "+") (link @))) ) -> ("(" "+" "+" someList ")") # ("(" ++ someList ")") expected Similarly: : (pipe (prin "(+ ++ this+is+ok +not-ok+)") (make (while (read "-+") (link @))) ) -> ("(" "+" "+" "+"