# Creating a function with utf

**URL:** https://discourse.julialang.org/t/creating-a-function-with-utf/102628
**Category:** New to Julia
**Created:** [August 9, 2023, 10:05am UTC](https://discourse.julialang.org/t/creating-a-function-with-utf/102628 "2023-08-09T10:05:28Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Sevi](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Sevi](https://discourse.julialang.org/u/Sevi)
#### Post date: [August 9, 2023, 10:19am UTC](https://discourse.julialang.org/t/creating-a-function-with-utf/102628/3 "2023-08-09T10:19:36Z")

</div>

I think there is a way, but I’m not sure it’s really feasible.

One example of what you describe is the `adjoint` function and the `'` postfix operator  
[https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/#Base.adjoint](https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/#Base.adjoint)

Based on this [post](https://discourse.julialang.org/t/list-of-binary-infix-operators/32282/2), the infix/postfix/… operators are detected in the parser. Looks like `trans-op`/`ctrans-op` refers to the adjoint mentioned above.

So, in principle, one could add more individual rules to parse the code and recognize postfix operators, but since `x⁻¹` is otherwise just a normal variable name, I don’t think there is a way without hacking the parser…

---

_[View the full topic](https://discourse.julialang.org/t/creating-a-function-with-utf/102628)._
