[Haskell-beginners] can this be made shorter?
Henk-Jan van Tuyl
hjgtuyl at chello.nl
Wed May 29 22:14:57 CEST 2013
On Wed, 29 May 2013 22:00:58 +0200, Tilmann <t_gass at gmx.de> wrote:
> you might want to use 'all' as well:
>
> Prelude> (all $ flip elem "./") "...."
> True
or:
all (`elem` "./") "...."
Regards,
Henk-Jan van Tuyl
--
Folding at home
What if you could share your unused computer power to help find a cure? In
just 5 minutes you can join the world's biggest networked computer and get
us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
More information about the Beginners
mailing list