谁给了 SWI-Prolog 幽默感? [英] Who gave SWI-Prolog a sense of humor?

查看:46
本文介绍了谁给了 SWI-Prolog 幽默感?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁给了 SWI-Prolog 幽默感?

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

推荐答案

Jan Wielemaker at 时间的开始!(时间!...时间...时间...)

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

提交9bbcedbb7598775a40caacbe16f139f28d8/代码> 1992 年 5 月 26 日:

$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 幽默感?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆