You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 typeThe text was updated successfully, but these errors were encountered: