3 ms·
To gain all of the benefits, you need the code to be written in iteratee style. You can take existing code as a starting point, but you'll often find it has to
by tumult 15y ago
To gain all of the benefits, you need the code to be written in iteratee style. You can take existing code as a starting point, but you'll often find it has to be changed quite a bit to get all of the benefits. It's usually a bit more involved than simply composing existing functions into iteratees.
- gregwebs 15y agoI wrote the persistent-mongoDB library which exposes an enumerator interface. It was actually fairly straightforward to hook up MongoDB to persistent's enumerator interface because MongoDB's driver already exposes a cursor which is essentially the same thing. It is extra work to use persistent's enumerator interface though.