Title: Tee
Open Graph Title: Python itertools.tee
Description: Python iterators and Haskell lists are different things. We have not yet had to reckon with this fact, but for this lesson we can no longer look past the distinction. First we’ll set up an example to illustrate the problem with iterators that itertools.tee solves, then discuss the contrast with Haskell lists, and finally show how to use Python’s tee function.
Open Graph Description: What the itertools ‘tee’ function is for, and how this illustrations the difference between Python iterators and Haskell lists.
X: @typeclasses
Domain: typeclasses.com
| theme-color | #31365f |
| og:image | https://static.typeclasses.com/twitter-python__itertools-tee-5f5004f5f9.jpg |
| og:type | article |
| article:tag | lists |
| twitter:card | summary_large_image |
Links:
Viewport: width=device-width, initial-scale=1