Diet is a DSL for writing your program logic as a sequence of trivial transformations.
See https://github.com/pragdave/diet_examples for some example code, and https://www.youtube.com/watch?v=L1-amhlGk7c for a talk that contains examples of Diet in action.