Macro to transform non-tuple arguments to tuples
<p>Is it possible to create a macro to transform non-tuple arguments to tuples? I would like something like this:</p>

<pre><code>assert_eq!(tuplify!(1, (2, 3), 4), ((1,), (2, 3), (4,)));
</code></pre>

<p>I tried to create such macro but was unable to do so. The problem that I faced was that each argument can have one of two forms and I couldn't figure out how to specify it.</p>