| How hard would it be to make the primitives in arc that match a character in a string to match more than one at once or a string? i.e.: arc> (pos "cd" "abcde")
2
The reason I'm suggesting this is a) it seems useful and fully backwards compatible and b) it would allow ssyntaxes to be multi-character, and also gives arc full symbol macros, instead of just single character ones.Also, while on the topic of ssyntaxes, I was testing some of them in my repl today and a!(b c)
pr."test"
etc. exited the repl, or printed #<eof>. Why is that? I could understand if it said something like "Bad syntax at: pr."test", but why would it exit. And how hard would it be to get those to work? After all, pr.3 works, why not pr."3"? or pr!(a b)?I'm sure I don't understand the nuances, but it would be cool if those would work. |