« first day (3002 days earlier)      last day (778 days later) » 

12:25 AM
I am suspicious that the resolution which will have to come along is that THEN and ELSE follow a rule that they do not complete the thing to their left, but skip exactly one stack level up. So (all [...] else [...]) would be legal while (:foo else [...]) would not be. You could get around that particular one with (get 'foo else [...]).
This is a "seemingly unfortunate" thing for AND and OR, though maybe not. They used to be tight enfix left, and they just will be again. The use of normal left enfix AND and OR arose in a time before nulls had solidifed and before PARSE's new return conventions, so you were still getting blanks and couldn't say parse data rules else [...]. It's significantly less relevant now that you can.
It would probably make people happier if THEN, ELSE, new ALSO, and company are the new "weird" routines which use a "one-and-only-one-stacklevel-up" convention, and what is currently considered "tight" went back to being "normal" as in historical Rebol. It would solve the variadic quandary, and simplify the evaluator.
 
12:42 AM
One need not say (:foo else [...]) is illegal in isolation, actually. In fact, that could be the workaround, if you want to go less than exactly one stacklevel of jump, put it in a group just like that. But never fill an argument slot with that implicitly, e.g. never accept arity-2-function :foo else [...] <bar> as legal.
This avoids creating a "differentiated last slot" behavior. Hence variadics looking rightward always perceive a single value like :foo there before an ELSE as the last value they get...then they're at the end, and the ELSE always attaches itself directly onto the variadic's result.
 
 
9 hours later…
9:17 AM
posted on January 19, 2019 by metaperl

[Reddit] My first working piece of #rosettacode

 
9:41 AM
@giuliolunati Fantastic!
 
 
5 hours later…
2:17 PM
0
Q: How did `find` actually locate a character in a string, when it was passed a string, not a character?

Terrence BrannonI was surprised to note that find "rspq" "q" actually found q in the series. The reason it surprised me is that the string "rpsq" is a series of characters and I expected to have to specify "q" as a character not as a string. This leads to 2 questions for me: 1. how do I specify the character q ...

 
 
1 hour later…
3:17 PM
0
A: How did `find` actually locate a character in a string, when it was passed a string, not a character?

9214 Consult the official reference documentation. Functions in Red are highly polymorphic. find can either search for a given element or a first occurence of sub-series.

0
A: How did `find` actually locate a character in a string, when it was passed a string, not a character?

Maciek Łoziński Characters are values of char! type, and are specified like this: c: #"q". I'd say it's because Red tries to copy behavior of Rebol. And in Rebol's documentation you can find this example: probe find "here and now" "and" "and now"

 
 
3 hours later…
6:21 PM
@HostileFork the multi-level quotation is not yet implemented, I'm wrong?
 
 
4 hours later…
10:29 PM
@giuliolunati multi level quoting is committed and should be working... I have not yet committed the soft quoted branches though (I did commit it, but backed it out to test it a little more after noticing something, it's still very cool and coming soon)
 

« first day (3002 days earlier)      last day (778 days later) »