class Dry::Logic::Result

def and(other)

def and(other)
  if success?
    other.(input)
  else
    self
  end
end