4 ms·
Thanks. Do any of these renditions have the target type int -> int?
by mafribe 11y ago
Thanks. Do any of these renditions have the target type int -> int?
- dllthomas 11y agoAll of them. More precisely, since the argument isn't used it's type is unconstrained, and the result could be any numeric type, so they all actually have type (Num b => a -> b), but that can be used anywhere you're expecting an Int -> Int.