Added indices
Clean up transformations
Clean up folds
Replaced ResultOf implementation
Added as_const
Added currying