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

change !indexes from {} to nil #87

Merged
merged 1 commit into from
Mar 17, 2020
Merged

Conversation

kloimhardt
Copy link

Solves #61 and adds some useful repl commands to user.clj . Concerning the comment "I think we need an (if channel-days ...) branch in log-page-header": I did not find a case where such an (if ...) was necessary, there were always the "Oops! No messages here!" and no 500 error.

(reset-all)
(use 'clojurians-log.repl)
(load-demo-data! "../clojurians-log-demo-data")
#_:end)
Copy link
Member

Choose a reason for hiding this comment

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

what's this #_:end for?

Copy link
Author

Choose a reason for hiding this comment

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

Should I remove this admittedly confusing #:end)?
In my defence: Moving the closing bracket to the next line makes evaluating of the (load-demo-data ...) much easier, as I just move to eol with $ before before pressing ,ee. The #
:end is just so that the bracket is not alone, sorry for having to bear with my sentimentality :-), should have cleaned this before committing, right?

Copy link
Member

Choose a reason for hiding this comment

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

I took it out. It's not problematic as such, but it might confuse people.

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for this elegant solution.

@plexus plexus merged commit fc9149b into clojureverse:master Mar 17, 2020
@plexus
Copy link
Member

plexus commented Mar 17, 2020

Nice!

@kloimhardt kloimhardt deleted the indexer-fix branch March 20, 2020 13:50
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