# How does Julia merge several exprs to one expr?

**URL:** <https://discourse.julialang.org/t/how-does-julia-merge-several-exprs-to-one-expr/77498>\
**Category:** New to Julia\
**Created:** [March 7, 2022, 9:45am UTC](https://discourse.julialang.org/t/how-does-julia-merge-several-exprs-to-one-expr/77498 "2022-03-07T09:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [March 7, 2022, 10:25am UTC](https://discourse.julialang.org/t/how-does-julia-merge-several-exprs-to-one-expr/77498/3 "2022-03-07T10:25:05Z")

</div>

Not sure I completely understand what you’re trying to achieve, but this might be one way to do it:

```julia
julia> nn=[:(at=at), :(ct=ct)]
2-element Vector{Expr}:
 :(at = at)
 :(ct = ct)

julia> :($(nn...),)
:((at = at, ct = ct))

```

But may I ask what the broader context is? Why do you need to build such expressions?

  

PS: Welcome to the Julia discourse! Please post quoted code, instead of screenshots; this makes it easier for us to help you

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

---

_[View the full topic](https://discourse.julialang.org/t/how-does-julia-merge-several-exprs-to-one-expr/77498)._
