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
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
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 @))) )
-> ("(" "+" "+" "+"