Copyright | (c) 2018 Andrew Lelechenko |
---|---|
License | MIT |
Maintainer | Andrew Lelechenko <andrew.lelechenko@gmail.com> |
Safe Haskell | Safe |
Language | Haskell2010 |
Interface to work with Riemann zeta-function and Dirichlet beta-function.
Synopsis
- module Math.NumberTheory.Zeta.Dirichlet
- module Math.NumberTheory.Zeta.Hurwitz
- module Math.NumberTheory.Zeta.Riemann
- intertwine :: [a] -> [a] -> [a]
- skipEvens :: [a] -> [a]
- skipOdds :: [a] -> [a]
Documentation
intertwine :: [a] -> [a] -> [a] Source #
Joins two lists element-by-element together into one, starting with the first one provided as argument.
>>>
take 10 $ intertwine [0, 2 ..] [1, 3 ..]
[0,1,2,3,4,5,6,7,8,9]