Re:Currying in Kotlin
by mattsan on Sunday September 03, 2023 @07:52AM
(#37369660)
Type safe builders/factories work and should be used where appropriate (e.g. to catch invalid state at compile time) but I don't see how this has anything to do with the currying shown in the post. The compiler checks the param types whether the function has a single param or not.
[ Parent
| on HN ]
There are no comments on this comment yet.