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

Make standard repl commands available from clooj repl #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

romseygeek
Copy link

Hi Arthur,

I've updated the (apply-namespace-to-repl) function to include the various useful repl functions that aren't in clojure.core anymore - things like doc and source. I've taken the list of functions from the source of clojure.core/repl.

This is both my first github pull request and my first attempt at hacking Clojure, so it's quite possible I've screwed something up in an entertaining way. Please be gentle...

Thanks, Alan

As it stands, the clooj repl doesn't include functions like (doc)
and (source).  This patch updates the (apply-namespace-to-repl)
function to include these functions in the project file namespace
when sent to the repl.

List of functions taken from the source of (clojure.core/repl).
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.

None yet

1 participant