« first day (1724 days earlier)      last day (2056 days later) » 

11:27 PM
Nov 26 '13 at 0:06, by Darrell Brogdon
Is there a reason Rebol (even R3) hasn't been compiled for 64-bit?
@DarrellBrogdon ^-- as you haven't checked in for a while, but your avatar shows up here in chat a lot, I thought I'd bring your attention to the recent developments...
 
11:41 PM
PICK on objects/maps should be vectorised: work with a block! as selector. Should return a block collecting the results for each selector item.
>> pick #(a: 1 b: 2 c: 3) [a c]
== #(a: 1 c: 3)
(With literal map! syntax.)
 
Perhaps for blocks as well, and then you must quote a literal block to search for it literally...
Well, with select.
 
Indexing for PICK and a block! aggregate, yes:
>> pick [a b c d e] [1 3]
== [a c]
 
>> select [a [b c] d e f] [a e]
== [[b c] f]

>> select [a [b c] d e f] quote '[b c]
== d
>> [a [b c] d e f]/'[b c]
== d
 
I really like the idea of using lit bits to change how the various index and picking occurs within the various series handling functions.
I'll say something momentous for @HostileFork
 
But you get a meta-meta problem
Lit-Bit is a count, not a bit.
What if you want to search for '[b c] Then you need ''[b c].
Which doesn't destroy the merit of the idea, just pointing that out.
There aren't enough header bits for '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''[b c]
 
11:50 PM
it may even replace /ONLY by differentiating by lit or not
`append [1 2] [3 4]`
`== [1 2 3 4]`
`append [1 2] '[3 4]`
`== [1 2 [3 4]]`
 
2 bits might be enough and then have a stern error message if you have more than that saying "I think you're missing the point, here"
Won't work, you'd have to quote it
And you can't quote the parameter to append.
You could double quote it though if there were multi-lit bits
Still doesn't help you if your information is in a variable
 
yes using a count instead of a bit allows more variations in use.
 
append [1 2] ''[3 4] ... the evaluator would strip one bit, and append could take that into account.
But actually that suggests really that maybe there needs to be a select/only
"take what I'm passing in literally"
>> select/only [1 a 2 b 3 c] 3
c
and there is one, so... yes
er, wait
Okay, I should focus on what I'm doing. But I do think lit-count or lit-bit or whatever could use some study and consideration, for what it could mean and how it could be used in a way that makes things cleaner and better vs. just more confusing.
With shielding parens in compose being one of the most compelling things so far IMO
A little tricky to see in multi-line cases though. '( separated a long way from ) is rather slight...
But with Plan -4 there are other options for this too. lit( ) can be different from lit ( )
 

« first day (1724 days earlier)      last day (2056 days later) »