Created
January 30, 2016 22:03
-
-
Save kishida/0bf82f02126c3ca0d5a4 to your computer and use it in GitHub Desktop.
Syllogism
This file contains hidden or 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
public interface Syllogism { | |
interface さかな{} | |
interface およぐ{} | |
interface さば{} | |
さかな majorPremise(さば s); | |
およぐ minorPremise(さかな f); | |
default およぐ conclusion(さば s){ | |
return minorPremise(majorPremise(s)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment