class Dry::Logic::Rule

def curry(*new_args)

def curry(*new_args)
  all_args = args + new_args
  if all_args.size > arity
    raise ArgumentError, "wrong number of arguments (#{all_args.size} for #{arity})"
  else
    with(args: all_args)
  end
end