Jake McArthur wrote: > Richard O'Keefe wrote: > > May I suggest that the most important thing missing from > > all these versions of the function is a comment? > > Most of the time I shouldn't *care* how the function works. > > (And that, for me, is one of the key benefits of Haskell.) > > Although in this case, a proper name and type signature is probably > enough. :)
I trust type signatures much more than comments because I know the compiler actually verifies the type signature. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
