• R/O
  • SSH

Joypy: Commit

Main interpreter and library.


Commit MetaInfo

Revisionddbab0c8a5286fd1dc8cc2eae1f94deb6157347c (tree)
Time2019-08-20 14:02:06
AuthorSimon Forman <sforman@hush...>
CommiterSimon Forman

Log Message

small func recognizes [] and [X].

Change Summary

Incremental Difference

diff -r d10018cfe1ad -r ddbab0c8a528 thun/gnu-prolog/thun.pl
--- a/thun/gnu-prolog/thun.pl Sun Aug 18 16:59:31 2019 -0700
+++ b/thun/gnu-prolog/thun.pl Mon Aug 19 22:02:06 2019 -0700
@@ -114,6 +114,10 @@
114114
115115 func(sqrt, [A|S], [B|S]) :- B is sqrt(A).
116116
117+func(small, [[_]|S], [ true|S]).
118+func(small, [ []|S], [ true|S]).
119+func(small, [ X|S], [false|S]) :- X \= [_], X \= [].
120+
117121
118122 /*
119123 Combinators
Show on old repository browser