Skip to content

Return nil from print, println, pr and prn#194

Merged
heyLu merged 1 commit into
pixie-lang:masterfrom
heyLu:fix-print
Feb 25, 2015
Merged

Return nil from print, println, pr and prn#194
heyLu merged 1 commit into
pixie-lang:masterfrom
heyLu:fix-print

Conversation

@heyLu
Copy link
Copy Markdown
Member

@heyLu heyLu commented Feb 25, 2015

The previous return value (how many characters were printed) was an implementation detail and possibly a bit confusing. Returning nil is also what clojure does, although very likely for different reasons.

the previous return value (how many characters were printed) was an
implementation detail and possibly a bit confusing. returning nil is
also what clojure does, although very likely for different reasons.
@gigasquid
Copy link
Copy Markdown
Contributor

nice :) I was just wanting that the other day

heyLu added a commit that referenced this pull request Feb 25, 2015
Return nil from print, println, pr and prn
@heyLu heyLu merged commit 5766c61 into pixie-lang:master Feb 25, 2015
@heyLu heyLu deleted the fix-print branch February 25, 2015 21:40
@heyLu
Copy link
Copy Markdown
Member Author

heyLu commented Feb 25, 2015

You're welcome! :)

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