-
-
Save ology/8db73a715507bd7f3db09fc10ae57d50 to your computer and use it in GitHub Desktop.
Laws of Thought
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
#!/usr/bin/env perl | |
use constant A => 1; | |
print "Identity\n" | |
if A == A; | |
print "Non-contradiction\n" | |
if A != !A; | |
print "Excluded middle\n" | |
if !(A && !A); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment