fun <E> mutableStackOf(vararg elements: E) = MutableStack(*elements)
fun main() {
val stack = mutableStackOf(0.62, 3.14, 2.7)
println(stack)
}
```Note that the compiler can infer the generic type from the parameters of mutableStackOf so that you don't have to write mutableStackOf<**Int**>(...).
-> shouldn't that be mutableStackOf<**Float**>(...) in this scenario?
https://play.kotlinlang.org/byExample/01_introduction/06_Generics