bvalosek / iterable Goto Github PK
View Code? Open in Web Editor NEWLazily-evaluated `Sequence`-based iterable objects with deferred querying and aggregation.
Lazily-evaluated `Sequence`-based iterable objects with deferred querying and aggregation.
All of the Iterable
classes that are used as sources for creating sequences need to be united tested.
ConcatIterable
DistinctIterable
ExceptIterable
GroupByIterable
IntersectIterable
LimitIterable
LimitWhileIterable
OrderByIterable
ReverseIterable
SelectIterable
SelectManyIterable
WhereIterable
Optimize things like count
, elementAt
, etc when using a sequence that is seeded from an array.
A lot of the delegate signatures (e.g, the where
, select
predicates) do/should have a call signature of function(item:any, index:number)
.
Currently this isn't consistently implemented across all applicable methods.
The README method documentation for Sequence
should be fleshed out, and then the first sentence(s) for each method should be the JSDoc description of function.
In addition, parameter names/types and function sigs should all match from the README and the JSDoc.
orderBy and orderByDescending should return a subclass of Sequence
called OrderedSequence
that has thenBy
and thenByDescending
methods to allow for compound sorting.
And add badges to the README.
Need to write unit tests for all the Iterables that produce iterables from other types / params:
Need tests for all eagerly-evaluated Sequence
methods:
any
average
contains
count
elementAt
every
first
forEach
last
max
min
reduce
sum
toArray
toString
The sequence member functions that create new Iterable classes should have some decent integration testing to provide some coverage, though most of this will be covered by the unit tests on the Iterable classes.
For use with AMD loaders or as <script>
tag includes.
And maybe groupJoin?
According to the testling badge, the tests are failing in non-nightly firefox builds. No idea why...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.