[Haskell-cafe] Very crazy

Philippa Cowderoy flippa at flippac.org
Tue Sep 25 16:24:36 EDT 2007


On Tue, 25 Sep 2007, Lennart Augustsson wrote:

> It's reasonably easy to read.
> But you could make it more readable.  Type signatures, naming the first
> lambda...
> 

It might be reasonable to define something like mapMatrix that happens to 
be map . map, too. Along with at least a type synonym for matrices. Name 
domain constructs rather than expecting people to reconstruct them from 
their implementations, in other words.

-- 
flippa at flippac.org

The task of the academic is not to scale great
intellectual mountains, but to flatten them.


More information about the Haskell-Cafe mailing list