Who gave SWI-Prolog a sense of humor?

我的梦境 提交于 2020-01-07 05:05:29

问题


Who gave SWI-Prolog a sense of humor?

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 ?-   

回答1:


Jan Wielemaker at 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.


来源:https://stackoverflow.com/questions/45312575/who-gave-swi-prolog-a-sense-of-humor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!