[Haskell-beginners] Simple laplace solver

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sun Mar 29 14:36:32 EDT 2009


On Sun, 29 Mar 2009 20:27:34 +0200, Peter Verswyvelen <bugfact at gmail.com>  
wrote:

> On Sat, Mar 28, 2009 at 6:09 PM, Edward Z. Yang <ezyang at mit.edu> wrote:
>
>> The list is four elements long, so I don't particularly care. Although,
>> I wonder why there isn't a built-in average function.
>
>
> Indeed, since we do have maximum and minimum on a list... Of course where
> does it end, one could imagine ending up with a big statistics package :)

And of course there are statistics packages; hstats (in Hackage) contains  
an average function, capable of handling large lists.

-- 
Met vriendelijke groet,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--




More information about the Beginners mailing list