Skip to content

Conversation

twetzel59
Copy link
Contributor

This is the openFileStream proc proposed in the RFC, along with a new test to go with it. As mentioned on the issue discussion, I did not yet deprecate newFileStream(), but I did update the docs to warn users about the possibility of nil.

@data-man
Copy link
Contributor

data-man commented Mar 3, 2018

Sorry, I dislike the name.
Compare with newStringStream, newTable, newHttpClient, etc.

@twetzel59
Copy link
Contributor Author

twetzel59 commented Mar 3, 2018

@data-man, there is already an older newFileStream, so @Araq suggested openFileStream. Possibly we should chose a new name altogether...

@data-man
Copy link
Contributor

data-man commented Mar 4, 2018

The word "open" means that something already exists is opened: a book, a door, the America...
You can throw a rock at me if I'm wrong. :-)

@Araq Araq merged commit 9079517 into nim-lang:devel Mar 4, 2018
zah pushed a commit to zah/grip-lang that referenced this pull request Mar 19, 2018
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.

3 participants