Fork me on GitHub
#aleph
<
2016-11-07
>
jeroenvandijk08:11:40

@jetmind there is not a built in one, but with tranducers it is quite simple. I have an example for you, one sec

jeroenvandijk08:11:05

o wait you mean something else, i thought about windowing

dm309:11:06

sliding buffers are trickier to implement currently

dm309:11:17

one way would be to make the buffer in the default stream pluggable

dm309:11:59

also one could make that change to stream/buffered-stream

jetmind10:11:20

I've implemented this as a library for now https://github.com/jetmind/waterfall It's a bit hacky, but works for me. Open to any feedback. I would love to see something like this in the manifold itself

dm310:11:18

yep, that's what I was talking about

dm310:11:42

if we expose buffer implementation to the user, you can do that kind of thing

dm310:11:10

@jetmind do you mind creating an issue on Manifold with a suggestion?

jetmind10:11:06

@dm3 sure! I was planning on doing that later this week

dm310:11:12

ok, great 🙂