News for hackers. Stuff that matters.
Re:Why functional programming matters (1990) [pdf] by mafribe on Thursday May 07, 2015 @09:44PM (#9509559)
Thanks. Do any of these renditions have the target type int -> int?
Re:Why functional programming matters (1990) [pdf] by dllthomas on Friday May 08, 2015 @02:34AM (#9510273)
All 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.