Data structure for fast query and update of cumulative sums in Haskell.