# 1 + 'a' = 'b'

**URL:** https://discourse.julialang.org/t/1-a-b/77947
**Category:** General Usage
**Created:** [March 16, 2022, 5:52am UTC](https://discourse.julialang.org/t/1-a-b/77947 "2022-03-16T05:52:33Z")
**Posts on this page:** 1
**Showing post:** 35

<div class="post-metadata">

### Author: ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)
#### Post date: [March 16, 2022, 3:42pm UTC](https://discourse.julialang.org/t/1-a-b/77947/35 "2022-03-16T15:42:31Z")

</div>

For the mathematically inclined, `+(::Char,::Int)` forms a [group action](https://www.wikiwand.com/en/Group_action) of the (additive) group of integers on the set of characters.

Similarly `+(::Ptr{T},::Int)` is a group action of integers on pointers and `+(::Int,::Int)` is the usual group action of integers on themselves, namely the (additive) group operation on integers. So this is all consistent and legit from a mathematical point of view.

---

_[View the full topic](https://discourse.julialang.org/t/1-a-b/77947)._
