This is just a general question regarding workflow.
I have written a simple predicate ef/1 and put it in my .plrc. I use it
to edit and create source files with vi as my editor in a singe shell.
I usually start a single pl process and do my editing from there using
the predicate above or plain edit/1 for jumping straight to specific
clauses. Is there a way to add a predicate to this so that before
consulting the freshly edited (or created) file, all the predicates but
the built-ins get retracted?
I create many small files which often define predicates with the same
signatures (just trying things out, I am not doing any projects).
Any other suggestions on how to improve workflow are also greatly
appreciated. I will be spending a lot of time writing Prolog...
Yes, CL student if you are about to ask. :-)
Many thanks in advance,