Ad
  • Default User Avatar

    There are 2 things you can look into. Currying which allows you to pass in multiple seperate args, however due to this problem giving an unknown number of args, maybe try solving it using classes instead.