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

Generalize out.clj code to support err #304

Merged
merged 1 commit into from
Mar 5, 2016
Merged

Generalize out.clj code to support err #304

merged 1 commit into from
Mar 5, 2016

Conversation

Malabarba
Copy link
Member

Related to #1588

@bbatsov
Copy link
Member

bbatsov commented Feb 29, 2016

The changes generally look good. I'd rename this middleware to output, so it's clear it's not specific to out. I'd also update the ns comment.

[[v msg-seq type] & body]
`(do (let [~(with-meta v {:tag Writer}) (case ~type
:out #'original-out
:err #'original-err)]
Copy link
Member

Choose a reason for hiding this comment

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

You forgot to define original-err.

bbatsov added a commit that referenced this pull request Mar 5, 2016
Generalize out.clj code to support err
@bbatsov bbatsov merged commit ace7230 into master Mar 5, 2016
@bbatsov bbatsov deleted the out-err branch March 5, 2016 06:28
@bbatsov
Copy link
Member

bbatsov commented Mar 5, 2016

Guess this will do for now.

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