goombaio / orderedset Goto Github PK
View Code? Open in Web Editor NEWInsertion ordered set implementation in golang.
License: Apache License 2.0
Insertion ordered set implementation in golang.
License: Apache License 2.0
Is your feature request related to a problem? Please describe.
subset(S,T): a predicate that tests whether the set S is a subset of set T.
Is your feature request related to a problem? Please describe.
Reach gold criteria on CI best practices badge.
Describe the solution you'd like
https://bestpractices.coreinfrastructure.org/en/projects/2184?criteria_level=2
Is your feature request related to a problem? Please describe.
difference(S,T): returns the difference of sets S and T.
Is your feature request related to a problem? Please describe.
There are items which are case-insensitive in nature, like file names under Windows, or table/field names in MS SQL Server.
Describe the solution you'd like
NewOrderedSet(caseInsensitive bool)
to indicate so,Add()
and Contain()
to use case-insensitive comparison.Describe alternatives you've considered
Cannot think of a better way to handle such situation otherwise.
Is your feature request related to a problem? Please describe.
Implement pop(S): returns an arbitrary element of S, deleting it from S.
Is your feature request related to a problem? Please describe.
intersection(S,T): returns the intersection of sets S and T.
Is your feature request related to a problem? Please describe.
clear(S): delete all elements of S.
Is your feature request related to a problem? Please describe.
union(S,T): returns the union of sets S and T.
Is your feature request related to a problem? Please describe.
Reach passing criteria on CI best practices badge.
Describe the solution you'd like
https://bestpractices.coreinfrastructure.org/en/projects/2184
Is your feature request related to a problem? Please describe.
equal(S1', S2'): checks whether the two given sets are equal (i.e. contain all and only the same elements).
Is your feature request related to a problem? Please describe.
filter(P,S): returns the subset containing all elements of S that satisfy a given predicate P.
https://en.wikipedia.org/wiki/Predicate_(mathematical_logic)
Is your feature request related to a problem? Please describe.
map(F,S): returns the set of distinct values resulting from applying function F to each element of S.
Is your feature request related to a problem? Please describe.
Reach silver criteria on CI best practices badge.
Describe the solution you'd like
https://bestpractices.coreinfrastructure.org/en/projects/2184?criteria_level=1
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.