Hullaballoonatic
10/17/2021, 6:24 PMfun foo((x, y): Pair<Int, Int>) = // whateverJoffrey
10/17/2021, 6:29 PMval (x,y) = arg in the first line of the body, I don't believe it would be worth complicating the language's syntaxJoffrey
10/17/2021, 6:31 PMfun foo(arg: Pair<Int, Int>) = arg.let { (x,y) ->
// Body
}ephemient
10/17/2021, 7:32 PMephemient
10/17/2021, 7:40 PMjimn
10/17/2021, 8:18 PMPai2<Int,Int> instantiated 1 t2 2 caught by dispatch as typealias as Tw1n<Int> which is then again shoved in 64 bit Long inline class backingstore, fwiw.
Pairs (Pai2) of Ints and functions map well to immutable vectors and vectors of pairs, and vectors with special pair value treatments, and so on using typealiases with a single codebase. mutable `Pair`'s feel relatively crippled by comparisonjimn
10/17/2021, 8:24 PM