Replies: 3 comments 7 replies
-
I appreciate the concern you share... I initially was quite reluctant to go this direction. But I definitely didn't want I had contemplated unbalanced options, like I even considered One thing to note is, two I also kinda like that I'm weary for One thing to be aware of with a multi-character tag pair is, the character on the "inside" really shouldn't be a character that's already an operator, since there will be a lot of Similarly, if we put the non If we did a multi-character tag pair, here are some options I can think of that likely avoid ambiguity
Thanks for bringing this up. I'm certainly open to exploring it, not set in stone yet. But I don't want to juggle too much of what I've already designed for the other features, so we do have a few constraints to consider. |
Beta Was this translation helpful? Give feedback.
-
I've been brewing on this quite a bit over the last couple of weeks. I decided to write up a section in the README to address your concerns head-on, and explore the compromise option I mentioned previously. This is not perfect, I admit. But given all the various options and constraints, I think it's good enough. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: I just landed a change that drops the The main capabilities intended to be enabled by the previous lisp form have been accommodated by new features:
These 3 can of course all be mixed. |
Beta Was this translation helpful? Give feedback.
-
I have a bad feeling about that in the
| fn a,r,g,s |
form, as expressions get more complicated - when you meet a|
- you cannot tell if it opens or closes.I know you're out of paired chars (
()
= args,[]
= index,{}
= blocks,<>
tuples), and I can see you decided not to overload notation semantics - mk... I can see how that could be useful. And on the same breath -|
is overloaded to open and close that special function form...But you don't have to use a pair from the math-semantics world:
It could be any two characters, one opens, the other closes. Say that | opens - chose any character for close. e.g. -
| fn a,r,g,s @
. I see that$
is still free (but I also am not a fan of this char... takes me back to my early darker days in perlscript and perl).You can always use a two char notation - e.g.
|. fn a,r,g,s .|
, but I'm sure we don't want to go there for a semantic we expect to be very common. Plus - if we do - any other math-semantic pair would do much better than|
.Beta Was this translation helpful? Give feedback.
All reactions