# What has the function \`expand\` been renamed to?

**URL:** https://discourse.julialang.org/t/what-has-the-function-expand-been-renamed-to/37756
**Category:** New to Julia
**Tags:** question
**Created:** [April 17, 2020, 11:48am UTC](https://discourse.julialang.org/t/what-has-the-function-expand-been-renamed-to/37756 "2020-04-17T11:48:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)
#### Post date: [April 17, 2020, 11:48am UTC](https://discourse.julialang.org/t/what-has-the-function-expand-been-renamed-to/37756/1 "2020-04-17T11:48:16Z")

</div>

I came across [this old thread](https://github.com/JuliaLang/julia/issues/21014#issuecomment-286558049) on `literal_pow` where the suggestion to introspect code is to use

```julia
julia> @eval @which $(expand(:(1^2)))
literal_pow(::Base.#^, x::Union{Complex{#s37} where #s37<:Union{Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8}, Float32, Float64, Int16, Int32, Int64, Int8, Rational{#s23} where #s23<:Union{Float32, Float64, Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8}, UInt16, UInt32, UInt64, UInt8}, ::Type{Val{2}}) in Base at intfuncs.jl:218

```

However `expand` is not defined in Julia 1.2. Is there an equivalent function?

---

<div class="post-metadata">

### Author: ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)
#### Post date: [April 17, 2020, 12:26pm UTC](https://discourse.julialang.org/t/what-has-the-function-expand-been-renamed-to/37756/2 "2020-04-17T12:26:17Z")

</div>

`Meta.lower(@ __MODULE__ , ...)` or `Meta.@lower`. The output has changed so what you had above won’t work anymore.
