So far, all available step adapters take as input the output of the previous step (or the original input for the first step in the stack). Sometimes, it is useful to have a step which just doesn’t need to use the previous output at all. For example (ok, quite contrived):
step :validate_contact_info step :send_contact_request_email tee :update_db_with_just_a_count_of_contact_requests
I don’t think this feature should translate to another adapter, because it is more something that happens between adapters . Taking Haskell as example, all available adapters are variations of
>>=, but there is no possibility to do a
-- In dry-transaction we can do this: Right 1 >>= \x -> return (x + 1) -- Right 2 -- But, for this: Right 1 >> Right 2 -- Right 2 -- we are forced to do: Right 1 >>= \_ -> Right 2 -- Right 2
What do you think?