# Higher-level function with variable number of parameters

**URL:** <https://discourse.julialang.org/t/higher-level-function-with-variable-number-of-parameters/101390>\
**Category:** General Usage\
**Created:** [July 9, 2023, 10:00am UTC](https://discourse.julialang.org/t/higher-level-function-with-variable-number-of-parameters/101390 "2023-07-09T10:00:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pao/32/34395_2.png) [@pao](https://discourse.julialang.org/u/pao)\
**Post date:** [July 9, 2023, 10:00am UTC](https://discourse.julialang.org/t/higher-level-function-with-variable-number-of-parameters/101390/1 "2023-07-09T10:00:30Z")

</div>

Hi guys,  
I need to write this kind of higher level operators `op`.

```julia
op ∈ {T,S,R,H,G}: op -> indxs::Int -> params::Real -> obj::UserType => obj::UserType

```

Problem I’m not able to solve is about having `indxs` and `params` of variable length.  
Two arrays would be acceptable, but better no having square brackets.

Any idea? Thank you in advance!
