# What if macro methods

**URL:** <https://internals.rust-lang.org/t/what-if-macro-methods/22291>\
**Category:** language design\
**Created:** [January 29, 2025, 2:57pm UTC](https://internals.rust-lang.org/t/what-if-macro-methods/22291 "2025-01-29T14:57:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![scottmcm](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/scottmcm/32/2355_2.png) [@scottmcm](https://internals.rust-lang.org/u/scottmcm)\
**Post date:** [January 29, 2025, 4:20pm UTC](https://internals.rust-lang.org/t/what-if-macro-methods/22291/3 "2025-01-29T16:20:15Z")

</div>

> [@otesunki](#):
>
> this would be cool and epic and sick

Can you say which properties of macros you're interested in here? Do you really want to do macro-like things in them (which depend on the passed-in tokens, or do caller-control-flow-affecting things), or are you just trying to value-like things without needing to write types?

It doesn't help that you appear to never use `$z` so I don't know what you mean by it.

If you mean the latter, see also the conversations about a hypothetical "macro fn", like [Make macro syntax similar to function - #4 by scottmcm](https://internals.rust-lang.org/t/make-macro-syntax-similar-to-function/14160/4)

---

_[View the full topic](https://internals.rust-lang.org/t/what-if-macro-methods/22291)._
