haskell nth-prime
pipes version