Léo NOEL
Léo NOEL
While technically possible, I think this is out of scope. The main challenge is, you cannot be sure the optimization is safe because there can be side effects in parallel...
manifold's `let-flow` does two things : implicit type conversion and parallel branch detection. Both concerns are largely orthogonal. I'm not really interested in implicit type conversion, as I don't think...
> I'd like to know if your out-of-scope reply meant it is out of scope for sp blocks or for the library in general. I think it's out of scope...
> Aren't we back to the "this is not Haskell argument"? Correct me if I'm wrong but I thought clojure evaluates arguments left to right and this change would break...
If you need to interop with a blocking `java.util.Iterator` you can define a flow consuming its values, like so : ```clojure (defn iterator-consumer [^java.util.Iterator iterator] (m/ap (while (m/?? (m/enumerate (when...
> It took me a day to understand that while loop :) This forking with ?? takes a while to internalize. TBH I'm not sure it's the best way to...
> At this point I can see amb as a generalization of the unix fork. Right, and [the other way round](https://wiki.c2.com/?AmbSpecialForm). BTW to fully emulate unix fork, `??` should be...
> I like to understand the mechanics of a library to get a feeling for the abstractions, the tradeoffs, the performance etc. I suggest you take some time to understand...
The object returned by this function could reasonably implement `java.lang.Iterable`, `clojure.lang.IReduceInit` and `clojure.lang.Sequential`, and a possible name could be `educe` to match `clojure.core/eduction`'s semantics (lazy but not memoized). The clojurescript...
> I would expect that running [2] would stop printing 1,2,3 and instead start printing only 4,5,6. However, currently it continues printing 1,2,3 in addition to 4,5,6. You're right, switching...