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

Feature: Reload user modified files in toplevel #2216

Open
aarroyoc opened this issue Dec 10, 2023 · 2 comments
Open

Feature: Reload user modified files in toplevel #2216

aarroyoc opened this issue Dec 10, 2023 · 2 comments

Comments

@aarroyoc
Copy link
Contributor

It would be useful to add a predicate, only available at the toplevel, to reload manually loaded files, and quickly test changes.

For example, in SWI-Prolog, one can issue the make/0 predicate to reload all modified source files.

In Haskell/GHC, in GHCi it's possible to issue: :reload to do the same.

@aarroyoc aarroyoc changed the title Feature: Reload user modified modules in toplevel Feature: Reload user modified files in toplevel Dec 10, 2023
@triska
Copy link
Contributor

triska commented Dec 10, 2023

I think this can be implemented in Prolog, if we are given abolish/2 (#1476).

@UWN
Copy link

UWN commented Dec 11, 2023

Similar to other systems, there will be a lot of restrictions where this can be used safely.

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

No branches or pull requests

3 participants