# Function name after parameters

**URL:** <https://discourse.julialang.org/t/function-name-after-parameters/2937>\
**Category:** General Usage\
**Tags:** question, proposal\
**Created:** [March 28, 2017, 8:28pm UTC](https://discourse.julialang.org/t/function-name-after-parameters/2937 "2017-03-28T20:28:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![evoclue](https://avatars.discourse-cdn.com/v4/letter/e/9e8a1a/32.png) [@evoclue](https://discourse.julialang.org/u/evoclue)\
**Post date:** [March 28, 2017, 8:28pm UTC](https://discourse.julialang.org/t/function-name-after-parameters/2937/1 "2017-03-28T20:28:02Z")

</div>

Is it possible to define a function somehow in the manner below:

```julia
function (X)zz
   X+X
end

```

Calling `(1)zz` would give you the value 2. My interest in this is purely aesthetic.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [March 28, 2017, 8:39pm UTC](https://discourse.julialang.org/t/function-name-after-parameters/2937/2 "2017-03-28T20:39:58Z")

</div>

No.

---

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [March 29, 2017, 2:12am UTC](https://discourse.julialang.org/t/function-name-after-parameters/2937/3 "2017-03-29T02:12:06Z")

</div>

Still, you may be interested in the `|>` operator:

```julia
julia> zz(x) = x+x
julia> 1 |> zz
2

```
