Skip to content

Conversation

whatyouhide
Copy link
Member

Only the spec for URI.query_decoder/1 worries me as it returns a function which is however semantically a stream (and this is what we mention in the documentation), so I chose to return Stream.t. Is this ok? Should we update Stream.t to include functions?

@josevalim
Copy link
Member

Stream.t is the way to go because the fact it is a function is an implementation detail.

@whatyouhide
Copy link
Member Author

@josevalim updated :)

@josevalim
Copy link
Member

:shipit:

@whatyouhide whatyouhide merged commit 1224aa9 into elixir-lang:master May 28, 2016
@whatyouhide whatyouhide deleted the uri-specs branch May 28, 2016 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants