Am I correct in thinking a function which takes a data class as a parameter cannot decompose said parameter directly in the function head (rather, it has to be done in the function body)?
👌 1
➕ 2
e
ephemient
05/13/2023, 11:14 PM
I believe you mean destructure
(correct though)
ephemient
05/13/2023, 11:16 PM
destructuring is allowed in lambda parameters but function parameters must have names