Hi Henrik,
> (dm split> (L Subject)
> ...
> (while (match '(@A ~L @B) Subject)
> ...
>
> It isn't working because it seems that ~L returns a NIL, how come and how
As the name says, '~' is a read-macro. It is expanded at read time (when
the function is read from the source file), whil
Hi!
When I try this everything happens as I hoped/expected it would:
(setq Tst '(4 4))
(println '(@A ~Tst @B))
(println (match '(@A ~Tst @B) '(1 2 3 4 4 5 6)))
(println @A)
However when I try to use this to create an arbitrary splitter, like this:
(dm chopStr> (Str)
(if (lst? Str) Str (chop