Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeList/Unzip.hs
module Prelude where unzip :: [(a,b)] -> ([a],[b]) unzip = foldr (\(b,c) ~(bs,cs) -> (b:bs, c:cs)) ([], [])