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

Add example for *repl-prompt* #272

Merged
merged 2 commits into from
Jan 25, 2025
Merged

Add example for *repl-prompt* #272

merged 2 commits into from
Jan 25, 2025

Conversation

mpwillson
Copy link
Contributor

I thought an example for this capability might help.
-mark

@sogaiu
Copy link
Collaborator

sogaiu commented Jan 24, 2025

Thanks! I gave it a try by pasting it into a running REPL and it worked fine.

Unfortunately, the instructions for naming example files is out of date.

I think the filename may need to be _42repl-prompt_42.janet for the results to show up on the Core API page. That works here when I test it anyway (^^;

Please rename the file in this PR.


P.S. Possibly of interest might be this open PR that contains a script for generating an appropriate filename.

@sogaiu sogaiu merged commit 8aecb34 into janet-lang:master Jan 25, 2025
1 check passed
@sogaiu
Copy link
Collaborator

sogaiu commented Jan 25, 2025

Thanks!

@mpwillson
Copy link
Contributor Author

Thanks sogaiu - that was fast!

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