Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Right, it's not an ordinary list comprehension. It's a parallel list comprehension though:

  zip as bs = [(a,b) | a <- as | b <- bs]
https://downloads.haskell.org/ghc/latest/docs/users_guide/ex...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: