anekos #4553(2007/12/02 11:34 GMT) [ Haskell ] Rating0/0=0.00
1 2 3 4 5
bin :: [Integer] -> Integer bin = foldl (\x y -> x * 2 + y) 0 -- Prelude> bin[0, 1, 1, 0, 1, 0, 0, 1] -- 105
Rating0/0=0.00-0+
2 replies [ reply ]
anekos
#4553()
[
Haskell
]
Rating0/0=0.00
Rating0/0=0.00-0+
2 replies [ reply ]