<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72">
<div>
<div style="font-family:Calibri,sans-serif; font-size:11pt">I wrote http://github.com/rbuckton/queryjs
<br>
<br>
Sent from my Windows Phone</div>
</div>
<div dir="ltr">
<hr>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">From:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:me@aaron-powell.com">Aaron Powell</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Sent:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">1/3/2015 6:26 PM</span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">To:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:r.mark.volkmann@gmail.com">'Mark Volkmann'</a>;
<a href="mailto:es-discuss@mozilla.org">es-discuss@mozilla.org</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Subject:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">RE: generator libraries</span><br>
<br>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Probably not the one youre after but I created
<a href="https://github.com/aaronpowell/linq-in-javascript">https://github.com/aaronpowell/linq-in-javascript</a> which is a JS Generator implementation of .NETs LINQ API. It has `take` implemented (<a href="https://github.com/aaronpowell/linq-in-javascript/blob/master/src/linq.js#L325-L354">https://github.com/aaronpowell/linq-in-javascript/blob/master/src/linq.js#L325-L354</a>
 and tests <a href="https://github.com/aaronpowell/linq-in-javascript/blob/master/tests/take.js">
https://github.com/aaronpowell/linq-in-javascript/blob/master/tests/take.js</a>)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></a></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> es-discuss [mailto:es-discuss-bounces@mozilla.org]
<b>On Behalf Of </b>Mark Volkmann<br>
<b>Sent:</b> Sunday, 4 January 2015 1:19 PM<br>
<b>To:</b> es-discuss@mozilla.org<br>
<b>Subject:</b> generator libraries</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Many months ago I ran across a couple of libraries containing utility functions for working with generators. I recall one was a "take" function that was used to take only the first n values from a a given generator. I'm having trouble locating
 those libraries now. I think one of them was written by a TC39 member. Can anyone point me to a library like that?<br clear="all">
</p>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">-- </p>
<div>
<p class="MsoNormal">R. Mark Volkmann<br>
Object Computing, Inc.</p>
</div>
</div>
</div>
</div>
</body>
</html>