Re: [Factor-talk] maximum of a seq

2018-12-12 Thread petern
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

Re: [Factor-talk] maximum of a seq

2018-12-12 Thread petern
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.