# Nesting @ncall

**URL:** <https://discourse.julialang.org/t/nesting-ncall/34724>\
**Category:** General Usage\
**Created:** [February 16, 2020, 2:21pm UTC](https://discourse.julialang.org/t/nesting-ncall/34724 "2020-02-16T14:21:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snir\_Gazit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snir_gazit/32/11027_2.png) [@Snir\_Gazit](https://discourse.julialang.org/u/Snir_Gazit)\
**Post date:** [February 16, 2020, 2:21pm UTC](https://discourse.julialang.org/t/nesting-ncall/34724/1 "2020-02-16T14:21:58Z")

</div>

I would like to “nest” @ncall operations from Bese.Cartesian.  
The motivation is to create a statically sized Svector of Svectors.  
To that end, I tried the following:

```julia
julia> using StaticArrays

julia> using Base.Cartesian

julia> @ncall 3 SVector x->(@ncall 3 SVector x->x)
ERROR: LoadError: ArgumentError: not a single-argument anonymous function
Stacktrace:
 [1] inlineanonymous(::Expr, ::Int64) at ./cartesian.jl:240
 [2] @ncall(::LineNumberNode, ::Module, ::Int64, ::Any, ::Vararg{Any,N} where N) at ./cartesian.jl:107
in expression starting at none:1

```

Clearly I am doing something wrong…  
Suggestions are welcome.
