We're a place where coders share, stay up-to-date and grow their careers.
Same idea in Haskell:
import Data.Bits stray :: [Int] -> Int stray = foldl1 xor
Same idea in Haskell: