Here's that question asked in DACTAL.
Here's that question asked in DACTAL.
.inverse name>forward property
E.g., in data where each album has track objects, but the tracks don't refer back to their album:
.album>tracks
adds an "album" property to each track while traversing.
.inverse name>forward property
E.g., in data where each album has track objects, but the tracks don't refer back to their album:
.album>tracks
adds an "album" property to each track while traversing.
:property+
:property-
as shorthand for the subquery forms:
:(.property)
:-(.property)
But the subquery forms are still needed for any path more complicated than a single property.
:property+
:property-
as shorthand for the subquery forms:
:(.property)
:-(.property)
But the subquery forms are still needed for any path more complicated than a single property.
something/someprop.10
gives us the first 10 items from each group, you can also truncate each group to 10 items in place, like this:
something/someprop|of=10
something/someprop.10
gives us the first 10 items from each group, you can also truncate each group to 10 items in place, like this:
something/someprop|of=10
dactal.org/dactal.html?...
dactal.org/dactal.html?...
some data.<(.some expensive subquery)
instead of running the subquery N times only to throw away N-1 of the results.
some data.<(.some expensive subquery)
instead of running the subquery N times only to throw away N-1 of the results.
If you're curious to see under this surface, I made a thing to help.
Explained here: furia.com/log/518
?label=+(subquery)
??label=+(subquery)
And a start operation can use the value ONLY as a reference with
=label
=type
Thus this form for setting a label if it isn't already set:
??district size=(=district size;~1000)
?label=+(subquery)
??label=+(subquery)
And a start operation can use the value ONLY as a reference with
=label
=type
Thus this form for setting a label if it isn't already set:
??district size=(=district size;~1000)
AEIODLT
.possible words
.by added letter
And now you can decapsulate it again with command-I (for Inline).
AEIODLT
.possible words
.by added letter
And now you can decapsulate it again with command-I (for Inline).
I want the opposite of that, unslick explorers of exposed exologic. We only start at the beginning.
dactal.org/Scrabble.html
I want the opposite of that, unslick explorers of exposed exologic. We only start at the beginning.
dactal.org/Scrabble.html
...x=(1,1,2,2,3,3),y=(2)
.x,-y → 1,3
..x,y → 1,1,2,3,3
...x=(1,1,2,2,3,3),y=(2)
.x,-y → 1,3
..x,y → 1,1,2,3,3
On the other, here's the Sieve of Eratosthenes in a DACTAL query.
dactal.org/dactal.html?...
On the other, here's the Sieve of Eratosthenes in a DACTAL query.
dactal.org/dactal.html?...
??? your notes here
Notes in DACTAL are a null operation, not meta-text, which has some cool implications that I haven't thought of yet.
??? your notes here
Notes in DACTAL are a null operation, not meta-text, which has some cool implications that I haven't thought of yet.
E.g grouping streams into listening sessions broken by gaps of more than 10 minutes between songs:
E.g grouping streams into listening sessions broken by gaps of more than 10 minutes between songs:
e.g. cumulative duration:
tracks2||cumulative duration=@@duration
dactal.org/dactal.html#...
e.g. cumulative duration:
tracks2||cumulative duration=@@duration
dactal.org/dactal.html#...
tracks|others=(??this .artist.tracks:-(this))
This replaces the more limited special-casing of "=_" in starts:
tracks|others=(?this=_ .artist.tracks:-(this))
tracks|others=(??this .artist.tracks:-(this))
This replaces the more limited special-casing of "=_" in starts:
tracks|others=(?this=_ .artist.tracks:-(this))
Filter negation is now done with -, instead of !.
tracks:-=Amaranth
This was the only use of ! as a suboperator, which frees it up to be the repeat operator, instead of ??.
messages._,replies!
Filter negation is now done with -, instead of !.
tracks:-=Amaranth
This was the only use of ! as a suboperator, which frees it up to be the repeat operator, instead of ??.
messages._,replies!
tracks/artist...count;count
tracks/artist...count;count