Re:Currying in JavaScript
by brundolf on Sunday September 19, 2021 @03:18PM
(#28587066)
Got it.
I wonder if that ambiguity could be resolved using contextual type info? I.e. if one of the two interpretations fits the expected type, use that. Otherwise, type-error.
I wonder if that ambiguity could be resolved using contextual type info? I.e. if one of the two interpretations fits the expected type, use that. Otherwise, type-error.
Maybe that would be confusing, not sure.