Hi Alex,
thanks, but I'm on Linux. Nice typo by the way, not sure what is the
hotkey on Linus :)
By clojure-like I meant what John linked, the persistent vocab. Clojure
uses what is coined as functional data structures. It all started with
Mr. Okasaki, if you search for "Okasaki functional data s
Hi John,
thanks for taking the time to answer, look through the code, write your
own version and explain it. Your solution to reactions makes more sense,
is simpler and doesn't copy. I also learned about new-resizable, like
and with. And I like the use of ?last which simplifies the bounds check.
Hi Peter,
The performance difficulties in your solution arise from using ``head*``
which makes a new sequence (allocations, copying into new memory, etc.),
rather than a lightweight slice which ``head-slice*`` does.
You are right that slices are not what you expect, you might find this
interestin
Hi, Peter!
> Any reason why supremum-by and infimum-by are not on the "Searching
> sequences" doc page? If you agree I can add these together with supremum
> and infimum.
A link in the help system would be useful, I think. I remember myself
discovering those functions by word of mouth, after hav
On 2018-12-10 16:40, John Benediktsson wrote:
> Using fry is convenient. Due to how we bootstrap factor, we can't use
> fry right now in "core" vocabularies, like sequences, so you'll see a
> fair amount of curry and compose which are more or less what fry is
> doing, just not as clean syntax.
>
Using fry is convenient. Due to how we bootstrap factor, we can't use fry
right now in "core" vocabularies, like sequences, so you'll see a fair
amount of curry and compose which are more or less what fry is doing, just
not as clean syntax.
I love the REPL advent idea, go for it! And as you lear
Hey there!
Sure, you can ask us here. I'm on sick leave, so got plenty of time.
Coincidentally, working on my Factor hobby project.
What you're looking for is called supremum-by.
Terminology is a bit uncommon. Look up supremum and infimum in the help
system.
10.12.2018, 17:06, "pet...@
Hello fellow concatenative fans.
I'm working my way through this year's advent of code[0]. I'm doing it
in factor with a small twist - everything happening inside the REPL.
Makes it more fun and challenging (for me), although I don't have any
code to show for it in the end.
I'm trying to find the