org.specs2.control.origami
package org.specs2.control.origami
Type members
Classlikes
A Fold is a "left fold" over a data structure with:
A Fold is a "left fold" over a data structure with:
- a 'start' value
- a 'fold' method to accumulate state
- an 'end' method to finalize the result
Both 'start' and 'end' have an effect which allows the whole folding to take place inside a context.
- Companion:
- object