2 ms·
That's actually what I meant: using both the name of the type to figure out what it does. I'm not claiming there's a single implementation given the type. Indee
by kccqzy 7y ago
That's actually what I meant: using both the name of the type to figure out what it does. I'm not claiming there's a single implementation given the type. Indeed I don't think that's possible in any signature that's not totally just type variables; here we have Bool and [] as base types so there are operations on them that the function can perform by baking in knowledge of these two types.