
30 Sep
2009
30 Sep
'09
2:25 p.m.
Bulat Ziganshin-2 wrote:
sum . zipWith (*) (map (2^) [0..])
foldr1 $ \b -> (+b) . (*2) -- View this message in context: http://www.nabble.com/convert-a-list-of-booleans-into-Word*-tp25677589p25686... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.