Advertisement
logicmoo

use_listing_vars/0

Nov 6th, 2015
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.71 KB | None | 0 0
  1. root@gitlab:~# swipl
  2. Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 7.3.10)
  3. Copyright (c) 1990-2015 University of Amsterdam, VU Amsterdam
  4. SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
  5. and you are welcome to redistribute it under certain conditions.
  6. Please visit http://www.swi-prolog.org for details.
  7.  
  8. For help, use ?- help(Topic). or ?- apropos(Word).
  9.  
  10. ?- use_module(library(logicmoo_utils)).
  11. % /root/lib/swipl/pack/logicmoo_base/prolog/logicmoo_utils.pl:204
  12. % Adding logicmoo/utils to autoload path
  13. true.
  14.  
  15. ?- use_listing_vars.
  16. true.
  17.  
  18. ?- listing(ls).
  19. shell:ls :-
  20.         ls('.').
  21.  
  22. shell:ls(Spec) :-
  23.         name_to_files(Spec, Matches),
  24.         ls_(Matches).
  25.  
  26. true.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement