Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from creation function added #28

Closed
wants to merge 7 commits into from
Closed

from creation function added #28

wants to merge 7 commits into from

Conversation

carlosypunto
Copy link
Contributor

@kzaher
Copy link
Member

kzaher commented Jun 1, 2015

Hi Carlos,
I'm extremely careful when pulling code into RxSwift :), but your change looks small and valuable.

There are just some minor tweaks I would want to ask you.

Would it be possible to merge all of the commits into one commit? I don't want to spam RxSwift git commit history :)

7 commits for 30 lines seem little too much :) So I would really appreciate if you would just merge all of this into one commit named something like "Adds from conversion function".

There is also a typo in source code. Other then that 👍

@@ -56,6 +56,17 @@ public func returnElements<E>(values: E ...) -> Observable<E> {
}
}

public func from<E, S where S: SequenceType, S.Generator.Element == E>(secuence: S) -> Observable<E> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be "sequence" instead of "secuence". Not a big problem, but we should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants