swi-prolog - 谁赋予了 SWI-Prolog 幽默感?

标签 swi-prolog

谁赋予了 SWI-Prolog 幽默感?

Welcome to SWI-Prolog (threaded, 64 bits, version 7.3.35)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

For online help and background, visit http://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).


1 ?- Input.  
% ... 1,000,000 ............ 10,000,000 years later  
%   
%       >> 42 << (last release gives the question)
1 ?-   

最佳答案

Jan Wielemaker 在 The Beginning of Time! (Time!...Time...time...)

Commit 97f1b0bbcedbb7598775a40caacbe16f139f28d8 on May 26, 1992 :

$execute(Var, _) :-
    var(Var), !,
    $ttyformat('... 1,000,000 ............ 10,000,000 years later~n~n'),
    $ttyformat('~t~8|>> 42 << (last release gives the question)~n'),
fail.

关于swi-prolog - 谁赋予了 SWI-Prolog 幽默感?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45312575/

相关文章:

performance - Prolog 的 CLP over Finite Domains 库性能

prolog - 在 SWI-Prolog 的 forall 子句中使用成员是否总是以相同的顺序输出元素?

java - 从 Java 程序传递 SWI-Prolog 查询

Prolog 在限定时间内找到所有解决方案

prolog - SWI-Prolog Guitracer X-服务器

module - SWI-Prolog 中的跨模块 "interface"调用

emacs - 在 SWI-Prolog 中关闭 XPCE

unit-testing - 将 SWI-Prolog 代码构建到模块中,用于多个算法和数据集的单元测试

Prolog:临界区、回溯、错误处理

prolog - 如何计算每个数字的频率?