Utilities for working with stacks of composed applicative functors