Last active
April 12, 2022 03:51
-
-
Save buzztaiki/95595572138c5a1669a080c1c91381ff to your computer and use it in GitHub Desktop.
Arch is the best!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
truth('Arch', 'is the best!'). |
❱❱ swipl
Welcome to SWI-Prolog (threaded, 64 bits, version 8.4.2)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
?- consult('truth').
true.
?- truth('Arch', X).
X = 'is the best!'.
?- truth('Ubuntu', X).
false.
?- truth(X, 'is the best!').
X = 'Arch'.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wiki.archlinux.org/title/Arch_is_the_best