imprive python interface

This commit is contained in:
Vitor Santos Costa
2012-12-01 14:28:25 +00:00
parent 683032432c
commit 3c0e16030c
4 changed files with 335 additions and 120 deletions

View File

@@ -41,7 +41,7 @@ ex(home) :-
).
ex(site) :-
X := site:getusersitepackages,
X := site:getusersitepackages(_),
format('site packages=~a~n',[X]).
ex(arith) :-
@@ -122,10 +122,10 @@ ex(lists) :-
:= $a:remove(333),
B := $a,
format('a=~w~n', [B]),
:= $a:reverse,
:= $a:reverse(_),
C := $a,
format('a=~w~n', [C]),
:= $a:sort,
:= $a:sort(_),
D := $a,
format('a=~w~n', [D]).