[Haskell-cafe] about Haskell code written to be "too smart"
jonathanccast at fastmail.fm
Tue Mar 24 17:24:03 EDT 2009
On Tue, 2009-03-24 at 22:33 +0300, Eugene Kirpichov wrote:
> Pretty cool once you know what the function does, but I must admit I
> wouldn't immediately guess the purpose of the function when written in
> this way.
I wouldn't immediately guess the purpose of the function written in any
I think, in general, the best way to document the purpose of the
-- | Split a function into a sequence of partitions of specified
takeList :: [Int] -> [a] -> [[a]]
More information about the Haskell-Cafe