I want to be able to pass a function into another function and call it so we would need a function type
ideas:
func<i32, i32 -> i32, i32> a function that takes two i32's as parameters and returns two i32's as output
func<i32, i32 -> auto> a function that takes two i32's as parameters and returns whatever but it is determined at compile time
func<auto -> auto> a function that takes whatever determined at compile time and returns whatever determined at compile time
func<auto<T> -> T> a function that takes whatever determined at compile time and returns the same type
I want to be able to pass a function into another function and call it so we would need a function type
ideas:
func<i32, i32 -> i32, i32>
a function that takes two i32's as parameters and returns two i32's as outputfunc<i32, i32 -> auto>
a function that takes two i32's as parameters and returns whatever but it is determined at compile timefunc<auto -> auto>
a function that takes whatever determined at compile time and returns whatever determined at compile timefunc<auto<T> -> T>
a function that takes whatever determined at compile time and returns the same type