This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/pl/qly.yap

25 lines
693 B
Plaintext
Raw Normal View History

2011-08-03 16:30:39 +01:00
/*************************************************************************
* *
* YAP Prolog *
* *
* Yap Prolog was developed at NCCUP - Universidade do Porto *
* *
* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-2011 *
* *
**************************************************************************
* *
* File: qly.yap *
* Last rev: *
* mods: *
* comments: fast save/restore *
* *
*************************************************************************/
save_module(Mod) :-
atom_concat(Mod,'.qly',F),
2011-08-09 12:12:52 +01:00
open(F, write, S, [type(binary)]),
2011-08-03 16:30:39 +01:00
'$save_module_preds'(S, Mod),
close(S).