Coder Social home page Coder Social logo

solid's People

Contributors

artemohanjanyan avatar karlicoss avatar konmik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solid's Issues

Add support for Set implementation

(this is more like a feature request)

I ran across this library and I would like to start using this. However the library supports only List and Map but not Set, which can be very useful for different use cases.

I wonder if it's possible for you to add Set implementation any time soon?

Builder pattern preparation data structs

Was reading autovalue builders collections, and tried using a List in the Builder to populate my SolidList, then read Solid Collections > Details, so I switched the Builder's List to ArrayList, but got the error message:
Error:(25, 33) error: Parameter type of setter method should be solid.collections.SolidList<java.lang.String> to match getter com.test.autovalue.Element.names

@AutoValue
abstract class Element {

    public abstract SolidList<String> names();

    public static Builder builder(){
        return new AutoValue_Element.Builder();
    }

    @AutoValue.Builder
    public abstract static class Builder{
//        public abstract Builder names(SolidList<String> value); // works
        public abstract Builder names(ArrayList<String> value); // doesn't
        public abstract Element build();
    }
}

Add api for creating SolidList of values

Hello, @konmik! Yes we use Solid ๐Ÿ˜ธ

At the moment to create SolidList of values you need to either use new SolidList<>(asList(value1, value2)) or Stream.of(value1, value2).collect(toSolidList()))

But both variants require additional objects :(

Can we please have a way to create SolidList directly from varargs?

No continuous integration

Hey I noticed you don't run builds on Travis or any other kind of CI (I might be missing something though). I feel like we should fix that, I would be happy to help!

Also, is there any particular reason you run instrumented unit tests (which work on device/emulator) rather than plain Junit/Robolectric tests?

No zip function

I wonder why SolidList doesn't have some zip function like one in Haskell or RxJava. Here is possible implementation: link.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.