vedang / clj_fdb

A thin Clojure wrapper for the Java API for FoundationDB.
https://vedang.github.io/clj_fdb/
Eclipse Public License 1.0
25 stars 9 forks source link

Make accumulator for get-range configurable #31

Open FiV0 opened 1 year ago

FiV0 commented 1 year ago

This is how I would add a custom accumulator to get-range.

I would not use something like a flatland/map as you mentioned in #29. I would even consider making get-range always return a sequential structure by default (which breaks downstream but I don't know if that is an issue for you). We can discuss more how you think it is best approached.