# ★ is not an operator

**URL:** https://discourse.julialang.org/t/is-not-an-operator/20221
**Category:** General Usage
**Tags:** question
**Created:** [January 29, 2019, 8:47am UTC](https://discourse.julialang.org/t/is-not-an-operator/20221 "2019-01-29T08:47:25Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)
#### Post date: [January 29, 2019, 8:51am UTC](https://discourse.julialang.org/t/is-not-an-operator/20221/2 "2019-01-29T08:51:03Z")

</div>

You’re trying to use a function as an infix operator, that doesn’t work. If you call it normally, it will work as expected.

The reason e.g. `a + b` can be used as an infix is because that is special cased at lowering and actually transforms into `+(a,b)`. See also [the docs](https://docs.julialang.org/en/v1.1/manual/functions/#Operators-Are-Functions-1), Operators Are Functions.

---

_[View the full topic](https://discourse.julialang.org/t/is-not-an-operator/20221)._
