
12 Mar
2010
12 Mar
'10
1:27 p.m.
Hi. I know, this is a very basic question but I've had some trouble with it. I've a list and I want to write a function isHomogeneous :: [String] -> Bool returning True is all the elements of the list are equals and False otherwise. In my first ugly test I've used a list-comprehension method, but I'm sure that exists a more elegant/short way to obtain the same result. Thanks in advance for any answer. Luca _________________________________________________________________ Tell us your greatest, weirdest and funniest Hotmail stories http://clk.atdmt.com/UKM/go/195013117/direct/01/