Sebastian Fischer wrote:
> (Choosing names that are
> "misleading or flat out wrong" is of course always a bad idea.)
foo = f . g . h where
f x = ...
g x = ...
h x = ...
Sometimes laziness is just the clearest option.
--
(c) this sig last receiving data processing entity. Inspec
> > Good names can help making comments less important.
>
> OTOH, comment can give you the best(?) of both worlds, both revealing
> the linear structure of the function, while still providing extra
> information:
>
> oddSquareSum :: Integer
> oddSquareSum = sum -- add tog
> From: Ketil Malde
>
> "S. Doaitse Swierstra" writes:
>
>>> then (s1 ++ s2 ++ s3 ++ s4) where
>>> s1 = "Golds "
>>> s2 = show (gold s g)
>>> s3 = ", Silvers "
>>> s4 = show (silver s g)
>
>> If you want to keep the definitions local to the